diff options
author | Craig Small <csmall@enc.com.au> | 2015-05-09 17:48:12 +1000 |
---|---|---|
committer | Craig Small <csmall@enc.com.au> | 2015-05-09 17:48:12 +1000 |
commit | 4050148a4533e8a79cef0d7dcd0c058d78c48a31 (patch) | |
tree | 5111d58cea4cf183adffba17a70e92c3eec2b627 /testsuite/pkill.test | |
parent | c7abb6a6ed67fa970051bca2d2f2596b7118b888 (diff) | |
download | procps-ng-4050148a4533e8a79cef0d7dcd0c058d78c48a31.tar.gz |
Fix some sched and tty tests
The ps sched test has been disabled. There are too many
odd build farms this fails in strange ways.
Other odd build farms have no tty and so some tests check
for no tty and skip if not found.
Diffstat (limited to 'testsuite/pkill.test')
-rw-r--r-- | testsuite/pkill.test/pkill.exp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/testsuite/pkill.test/pkill.exp b/testsuite/pkill.test/pkill.exp index 5eece7d..c583cbe 100644 --- a/testsuite/pkill.test/pkill.exp +++ b/testsuite/pkill.test/pkill.exp @@ -9,8 +9,7 @@ set not_uid [ expr { $uid + 1 } ] set gid [ exec id -g ] set not_gid [ expr { $gid + 1 } ] set ps "${topdir}ps/pscommand" -set raw_tty [ exec tty ] -regexp "/dev/(.+)" $raw_tty > tty +set tty [ get_tty ] set test "pkill with no arguments" spawn $pkill |