fixed pgrep and added ps tests

This commit is contained in:
Craig Small
2011-11-29 22:55:03 +11:00
parent b36fe6efc5
commit 261a3fae83
4 changed files with 61 additions and 2 deletions

View File

@@ -45,8 +45,8 @@ spawn $pgrep -d : $newsleep
expect_pass "$test" "^${sleep1_pid}:${sleep2_pid}\\s*$"
# FIXME - Need to test against -f flag
#set test "pgrep match against full process name"
#untested $test
set test "pgrep match against full process name"
untested $test
set test "pgrep with matching gid"
spawn $pgrep -G $gid $newsleep