generic/310: killall does not need pathnames
authorAri Sundholm <ari@tuxera.com>
Mon, 29 Sep 2014 03:09:07 +0000 (13:09 +1000)
committerDave Chinner <david@fromorbit.com>
Mon, 29 Sep 2014 03:09:07 +0000 (13:09 +1000)
Only the executable name is required and this allows busybox
killall to be used.

Signed-off-by: Ari Sundholm <ari@tuxera.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
tests/generic/310

index 9d46e87ec754ab2c89277b2b848d4bb6a11499b4..c0a8645146caf466eed3041a0664affefcf51494 100755 (executable)
@@ -103,7 +103,7 @@ _test_read()
 {
        src/t_readdir_1 $SEQ_DIR &
        sleep $RUN_TIME
-       killall src/t_readdir_1
+       killall t_readdir_1
        check_kernel_bug
        if [ $? -ne 0 ]; then
                _fatal "kernel bug detected, check dmesg for more infomation."
@@ -114,7 +114,7 @@ _test_lseek()
 {
        src/t_readdir_2 $SEQ_DIR &
        sleep $RUN_TIME
-       killall src/t_readdir_2
+       killall t_readdir_2
        check_kernel_bug
        if [ $? -ne 0 ]; then
                _fatal "kernel bug detected, check dmesg for more infomation."