From: Mark Wooding Date: Mon, 11 Jul 2016 08:49:21 +0000 (+0100) Subject: sys/tests.at: Actually make sure the `mdup' tests work. X-Git-Tag: 2.2.4~14 X-Git-Url: https://git.distorted.org.uk/~mdw/mLib/commitdiff_plain/faa63d863ffa61bdc04f010a00c967e8aacbe103?hp=e54226a7b21d3ef96b37adeac01e3e1dad17ad11 sys/tests.at: Actually make sure the `mdup' tests work. 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. --- diff --git a/sys/tests.at b/sys/tests.at index 8b7e390..a3e8d38 100644 --- a/sys/tests.at +++ b/sys/tests.at @@ -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