From 4f670845ff9ab6c48bcb5f7bf4d4ef6dc3c3064b Mon Sep 17 00:00:00 2001 From: manuel Date: Tue, 27 Mar 2012 11:51:08 +0200 Subject: reorganize file structure to match the upstream requirements --- tests/userprog/halt.ck | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 tests/userprog/halt.ck (limited to 'tests/userprog/halt.ck') diff --git a/tests/userprog/halt.ck b/tests/userprog/halt.ck new file mode 100644 index 0000000..1b701ed --- /dev/null +++ b/tests/userprog/halt.ck @@ -0,0 +1,15 @@ +# -*- perl -*- +use strict; +use warnings; +use tests::tests; + +our ($test); +my (@output) = read_text_file ("$test.output"); + +common_checks ("run", @output); + +fail "missing 'begin' message\n" + if !grep ($_ eq '(halt) begin', @output); +fail "found 'fail' message--halt didn't really halt\n" + if grep ($_ eq '(halt) fail', @output); +pass; -- cgit v1.2.3