1 # There seems to be problem with bash
3 # $ bash -c 'bash -i i; bash -i i'
4 # bash -c 'bash -i i; bash -i i'
5 # bash: i: No such file or directory
7 # [1]+ Stopped bash -c 'bash -i i; bash -i i'
9 # I found out because the tests were stopped in the middle. It was caused by
10 # having 'cd /somewhere' in my ~/.bashrc. The tests were being stopped in
11 # read-test, exactly in read2.sub when 'read -t 2 a < /dev/tty' was executed.
12 # This workaround stops the tests to be stopped in the middle.
14 # reported to bug-bash@gnu.org
16 --- tests/execscript 2016-12-08 00:40:18.000000000 +0000
17 +++ tests/execscript.new 2019-02-02 12:39:16.486640339 +0000
18 @@ -108,7 +108,7 @@ ${THIS_SH} ./exec6.sub
19 # checks for properly deciding what constitutes an executable file
20 ${THIS_SH} ./exec7.sub
22 -${THIS_SH} -i ${PWD}/exec8.sub
23 +${THIS_SH} --rcfile /dev/null -i ${PWD}/exec8.sub
25 ${THIS_SH} ./exec9.sub