summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorglenda@drat <glenda@drat>2016-05-26 06:53:29 -0700
committerglenda@drat <glenda@drat>2016-05-26 06:53:29 -0700
commit0b99465823930170bb45c9264c10ed5936be5bb4 (patch)
tree24ae34212e030ce074649007528b665c878b60e4 /test
parentb1cd018c05d289e45529d5e15b928a1cae177223 (diff)
downloadmc-0b99465823930170bb45c9264c10ed5936be5bb4.tar.gz
Add plan9 implementations of recent additions.
Diffstat (limited to 'test')
-rwxr-xr-xtest/runtest.rc7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/runtest.rc b/test/runtest.rc
index 6723658..6b6a8c5 100755
--- a/test/runtest.rc
+++ b/test/runtest.rc
@@ -12,11 +12,13 @@ fn build {
fn pass {
passed=$passed ^ ' ' ^ $1
+ echo "!}>> ok"
}
fn fail {
echo FAIL: $1
- failed=$failed ^ ' ' ^ $1
+ failed=$failed ^ ' ' ^ $1}
+ echo "!}>> fail $1"
}
fn expectstatus {
@@ -62,6 +64,7 @@ fn B {
type=$1; shift
res=$1; shift
+ echo "test $test <<{!"
build $test
switch($type) {
case E
@@ -76,6 +79,7 @@ fn B {
}
fn F {
+ echo "test $test <<{!"
@{ build $1 } > /dev/null
if (~ $status ''/)
fail $1
@@ -83,6 +87,7 @@ fn F {
pass $1
}
+echo "MTEST `{grep '^[BF]' tests | wc -l}"
. tests