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

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

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

From: Whit Armstrong <hidden>
Date: 2016-06-15 22:44:25

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>

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

From: Jeff King <hidden>
Date: 2016-06-15 22:44:25

On Tue, Mar 25, 2008 at 08:34:20AM -0400, Whit Armstrong wrote:
on Solaris 5.9:
[...]
xs5-trd-p1.grn:warmstro> bash t3701-add-interactive.sh -i -v
[...]
* 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.
I can't even get this far on my Solaris 5.8 box. Presumably it is a
problem of having an older perl binary. What perl version do you have?

-Peff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help