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