diff --git a/testsuite/pwait.test/pwait.exp b/testsuite/pwait.test/pwait.exp index 867f0ff5..0b59a953 100644 --- a/testsuite/pwait.test/pwait.exp +++ b/testsuite/pwait.test/pwait.exp @@ -9,6 +9,11 @@ set not_uid [ expr { $uid + 1 } ] set gid [ exec id -g ] set not_gid [ expr { $gid + 1 } ] +if { ![ file exists $pwait ] } { + untested { skipping (not build)} + return +} + set test "pwait with no arguments" spawn $pwait expect_pass "$test" "^\(lt-\)\?pwait: no matching criteria specified\\s*"