sys/tests.at: Actually make sure the `mdup' tests work.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 11 Jul 2016 08:49:21 +0000 (09:49 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 11 Jul 2016 08:49:21 +0000 (09:49 +0100)
Oops.  It's not actually been testing anything.  You can tell because it
tried to run the wrong program.

Fortunately, once this is fixed, the test does seem to run OK.

sys/tests.at

index 8b7e390..a3e8d38 100644 (file)
@@ -33,19 +33,19 @@ AT_KEYWORDS([sys mdup])
 mdup=BUILDDIR/t/mdup.t
 
 ## Very simple cases.
-$mdup 3:4
-$mdup 4:3
+AT_CHECK([$mdup 3:4])
+AT_CHECK([$mdup 4:3])
 
 ## Overlapping sources and destinations
-$mdup 4:3 3:5 5:6
+AT_CHECK([$mdup 4:3 3:5 5:6])
 
 ## Repeated sources
-$mdup 3:4 3:3 3:-1
-$mdup 5:8 3:4 3:5 4:6
+AT_CHECK([$mdup 3:4 3:3 3:-1])
+AT_CHECK([$mdup 5:8 3:4 3:5 4:6])
 
 ## Cycles
-$mdup 5:7 3:4 3:5 4:6 5:3
-$mdup 5:8 3:4 3:5 4:6 5:3
+AT_CHECK([$mdup 5:7 3:4 3:5 4:6 5:3])
+AT_CHECK([$mdup 5:8 3:4 3:5 4:6 5:3])
 
 AT_CLEANUP