more free tests and pgrep tests

Almost fully testing all features of pgrep now.
free had additional tests added to it
This commit is contained in:
Craig Small
2011-11-27 15:30:04 +11:00
parent 49c99b1189
commit 2cad7c5667
3 changed files with 138 additions and 0 deletions

View File

@@ -37,3 +37,11 @@ proc expect_pass { testname reg } {
timeout { fail "$testname" }
}
}
proc expect_blank { testname } {
expect {
-re "\\w" { fail "$testname" }
eof { pass "$testname" }
timeout { pass "$testname" }
}
}