chiark / gitweb /
tests/example/check: Better handling of makefile updates
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 29 Dec 2019 11:01:28 +0000 (11:01 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 29 Dec 2019 16:04:44 +0000 (16:04 +0000)
Rather than checking just for presence of a string in a templated
output file, also have the input file define a target which we try to
run.  This checks that make actually reread the file.

Also add ||false to the grep lines, which makes the stderr output
more obviously contain a failure when the test fails.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>

No differences found