redo-ifchange regression: if REDO_LOG is not set, assume it's 1.
At some point this got broken during a refactoring. The result was that redo-ifchange, run from the command line (as opposed to inside a .do script) would fail to start the log prettifier.
This commit is contained in:
parent
83bc49512f
commit
8a97b0cb2c
5 changed files with 7 additions and 3 deletions
|
|
@ -1,2 +1,2 @@
|
|||
redo test.args test2.args passfailtest
|
||||
redo test.args test2.args passfailtest noargs/run
|
||||
. ../skip-if-minimal-do.sh
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
rm -f passfail *~ .*~
|
||||
rm -f passfail *~ .*~ */*~ */.*~ noargs/all
|
||||
|
|
|
|||
1
t/100-args/noargs/all.do
Normal file
1
t/100-args/noargs/all.do
Normal file
|
|
@ -0,0 +1 @@
|
|||
echo RAN >$3
|
||||
3
t/100-args/noargs/run.do
Normal file
3
t/100-args/noargs/run.do
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
rm -f all
|
||||
redo-ifchange # should not default to 'all' since not running from top level
|
||||
[ ! -e all ] || exit 11
|
||||
Loading…
Add table
Add a link
Reference in a new issue