chiark / gitweb /
Fix "tests: drs-push-rejects: test unknown suite"
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 4 Aug 2014 01:12:05 +0000 (02:12 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 4 Aug 2014 01:12:05 +0000 (02:12 +0100)
We have to reset $tmp/suites or the remaining elements of this test
script will fail.

tests/tests/drs-push-rejects

index fdd390d..f6f8882 100755 (executable)
@@ -128,6 +128,7 @@ prep unstable sid
 mktag
 echo woody >$tmp/suites
 mustfail 'unknown suite' $push_spec
+cp $root/tests/suites $tmp/.
 
 # fixme:
 #    or reject "command string not understood";