summaryrefslogtreecommitdiff
path: root/tests/scripts/options/dash-B
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2002-09-10 22:23:20 +0000
committerPaul Smith <psmith@gnu.org>2002-09-10 22:23:20 +0000
commitbc91c0b23f27cc80dda01c7494906523754dc650 (patch)
tree1f89852be95473cb28e9e6d9e48d174984e609ae /tests/scripts/options/dash-B
parent5297a83b276f09de626d678d1fae80f5e76db08d (diff)
downloadgunmake-bc91c0b23f27cc80dda01c7494906523754dc650.tar.gz
A few test bug fixes:
* Never use "touch" in make rules; it breaks on most sub-second supporting systems. Use echo "" > $@ instead. * Forgot to close test makefiles before using them! All the above worked fine on Linux but failed miserably on Solaris.
Diffstat (limited to 'tests/scripts/options/dash-B')
-rw-r--r--tests/scripts/options/dash-B2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/scripts/options/dash-B b/tests/scripts/options/dash-B
index 94932e5..32992b3 100644
--- a/tests/scripts/options/dash-B
+++ b/tests/scripts/options/dash-B
@@ -18,7 +18,7 @@ all: foo
foo: bar.x
@echo cp $< $@
- @touch $@
+ @echo "" > $@
EOF
close(MAKEFILE);