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.
This commit is contained in:
Paul Smith
2002-09-10 22:23:20 +00:00
parent 5297a83b27
commit bc91c0b23f
4 changed files with 9 additions and 4 deletions

View File

@@ -18,7 +18,7 @@ all: foo
foo: bar.x
@echo cp $< $@
@touch $@
@echo "" > $@
EOF
close(MAKEFILE);