xfstests: kill in 131 needs to be quiet

If the kill fails because the processes have already terminates,
the output from kill (no such process) will cause the test to
fail. Make sure kill doesn't output anything.

Signed-off-by: Dave Chinner <david@fromorbit.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
Dave Chinner
2010-01-21 08:54:38 +11:00
parent a593b5a8fd
commit 76d3f120e2
+2 -2
View File
@@ -34,8 +34,8 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_cleanup()
{
kill $locktest_pid2
kill $locktest_pid1
kill $locktest_pid2 2&>1 /dev/null
kill $locktest_pid1 2&>1 /dev/null
_cleanup_testdir
}