]> granicus.if.org Git - procps-ng/commitdiff
testsuite: Remove pgrep ?15 char test
authorCraig Small <csmall@enc.com.au>
Sat, 19 May 2018 11:50:21 +0000 (21:50 +1000)
committerCraig Small <csmall@enc.com.au>
Sat, 19 May 2018 11:50:21 +0000 (21:50 +1000)
The referenced commit removed the warning for using pgrep with over
15 characters. The check for this warning needs to also be removed.

References:
 commit c32ab58b942d6dc2d6b4d45114af2ba9572aaa50

testsuite/pgrep.test/pgrep.exp

index 66dd4c7d9ea9a93f60789f92b69e0cb7a9c2205b..9f935e6090631fcf68932123551184f107635bce 100644 (file)
@@ -118,9 +118,5 @@ set test "pgrep does not match substring with exact"
 spawn $pgrep -x $testproc_trim
 expect_blank $test
 
-set test "pgrep with long non-matching pattern gives warning"
-spawn $pgrep gnome-session-bi
-expect_pass "$test" "pattern that searches for process name longer than 15 characters will result in zero matches"
-
 # Cleanup
 kill_testproc