git/list[1] front-page[2] threads[3] people[4] search[5] about
 

git failure on Solaris t3701-add-interactive.sh -- git version 5cc8f372509298d13632d8784bc851a587937550

From
Whit Armstrong <armstrong.whit@gmail.com>
Date
Mar 25, 2008, 12:34 UTC
Message-ID
<8ec76080803250534x5373b0c6p6165a7dc17971e4a@mail.gmail.com>
In-Reply-To
<8ec76080803250529i5765cc9ar2d6fc3356800cb14@mail.gmail.com>
on Solaris 5.9:
xs5-trd-p1.grn:warmstro> bash t3701-add-interactive.sh -i -v
* expecting success:
        echo content >file &&
        git add file &&
        echo more >>file &&
         echo lines >>file
*   ok 1: setup (initial)
* expecting success:
        git add -i </dev/null >output &&
        grep "+1/-0 *+2/-0 file" output
Can't use an undefined value as filehandle reference at
/home/warmstro/dvl.whit/git/t/../git-add--interactive line 53.
 * FAIL 2: status works (initial)
                git add -i </dev/null >output &&
                grep "+1/-0 *+2/-0 file" output
xs5-trd-p1.grn:warmstro>
and more info from  bash -x t3701-add-interactive.sh -i -v:
++ expr ./t3701-add-interactive.sh : '.*/\(t[0-9]*\)-[^/]*$'
+ this_test=t3701
++ expr 1 + 1
+ this_test=t3701.2
+ to_skip=
+ false
+ say 'expecting success:
        git add -i </dev/null >output &&
         grep "+1/-0 *+2/-0 file" output
'
+ say_color info 'expecting success:
        git add -i </dev/null >output &&
        grep "+1/-0 *+2/-0 file" output
'
 + test -z info
+ shift
+ echo '* expecting success:
        git add -i </dev/null >output &&
        grep "+1/-0 *+2/-0 file" output
'
* expecting success:
        git add -i </dev/null >output &&
         grep "+1/-0 *+2/-0 file" output
+ test_run_ '
        git add -i </dev/null >output &&
        grep "+1/-0 *+2/-0 file" output
'
+ eval '
        git add -i </dev/null >output &&
         grep "+1/-0 *+2/-0 file" output
'
++ git add -i
Can't use an undefined value as filehandle reference at
/home/warmstro/dvl.whit/git/t/../git-add--interactive line 53.
+ eval_ret=227
 + return 0
+ '[' 0 = 0 -a 227 = 0 ']'
+ test_failure_ 'status works (initial)' '
        git add -i </dev/null >output &&
        grep "+1/-0 *+2/-0 file" output
 '
++ expr 1 + 1
+ test_count=2
++ expr 0 + 1
+ test_failure=1
+ say_color error 'FAIL 2: status works (initial)'
+ test -z error
+ shift
+ echo '* FAIL 2: status works (initial)'
 * FAIL 2: status works (initial)
+ shift
+ echo '
        git add -i </dev/null >output &&
        grep "+1/-0 *+2/-0 file" output
'
+ sed -e 's/^/  /'
                git add -i </dev/null >output &&
                 grep "+1/-0 *+2/-0 file" output
+ test t = ''
+ trap - exit
+ exit 1
xs5-trd-p1.grn:warmstro>
Next: Jeff King
Message 1 of 4 in “git failure on Solaris t3701-add-interactive.sh -- git version 5cc8f372509298d13632d8784bc851a587937550”
  1. Whit ArmstrongMar 25, 2008
  2. Jeff KingMar 25, 2008
  3. Jeff KingMar 26, 2008
  4. Whit ArmstrongApr 1, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.