diff options
author | Paul Smith <psmith@gnu.org> | 1999-09-17 03:15:37 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 1999-09-17 03:15:37 +0000 |
commit | a63f51340b540074dd98bfc7201e2221c5671d28 (patch) | |
tree | 8bea6f8caac20090a1951ab725bd942f7c9bd4ba /tests/scripts/options | |
parent | 45e04a5860476c40b0943e189c9a58f62dca07c8 (diff) | |
download | gunmake-a63f51340b540074dd98bfc7201e2221c5671d28.tar.gz |
* A few script fixes and updates for 3.78.
Diffstat (limited to 'tests/scripts/options')
-rw-r--r-- | tests/scripts/options/dash-l | 2 | ||||
-rw-r--r-- | tests/scripts/options/dash-n | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/tests/scripts/options/dash-l b/tests/scripts/options/dash-l index 445b869..58216f9 100644 --- a/tests/scripts/options/dash-l +++ b/tests/scripts/options/dash-l @@ -25,7 +25,7 @@ SHELL = /bin/sh define test if [ ! -f test-file ]; then \ - touch test-file; sleep 2; rm -f test-file; \ + echo >> test-file; sleep 2; rm -f test-file; \ else \ echo $@ FAILED; \ fi diff --git a/tests/scripts/options/dash-n b/tests/scripts/options/dash-n index 97dac7a..c1f4aab 100644 --- a/tests/scripts/options/dash-n +++ b/tests/scripts/options/dash-n @@ -9,8 +9,8 @@ open(MAKEFILE, "> $makefile"); print MAKEFILE <<'EOMAKE'; -final: intermediate ; touch $@ -intermediate: orig ; touch $@ +final: intermediate ; echo >> $@ +intermediate: orig ; echo >> $@ EOMAKE @@ -19,11 +19,11 @@ close(MAKEFILE); &touch('orig'); &run_make_with_options($makefile, "", &get_logfile); -$answer = "touch intermediate\ntouch final\n"; +$answer = "echo >> intermediate\necho >> final\n"; &compare_output($answer, &get_logfile(1)); &run_make_with_options($makefile, "-Worig -n", &get_logfile); -$answer = "touch intermediate\ntouch final\n"; +$answer = "echo >> intermediate\necho >> final\n"; &compare_output($answer, &get_logfile(1)); unlink('orig', 'intermediate', 'final'); |