From faa63d863ffa61bdc04f010a00c967e8aacbe103 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Mon, 11 Jul 2016 09:49:21 +0100 Subject: [PATCH] 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. --- sys/tests.at | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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 -- 2.11.0