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>