projects
/
xfstests-dev.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
generic/561: kill duperemove directly
[xfstests-dev.git]
/
tests
/
generic
/
561
diff --git
a/tests/generic/561
b/tests/generic/561
index 2f3eff3ca4c0baf18c7d884321c6df8738c08148..26ecff5d40ad338fee924a6fc0fb234ed480c173 100755
(executable)
--- a/
tests/generic/561
+++ b/
tests/generic/561
@@
-47,7
+47,7
@@
function end_test()
# stop duperemove running
if [ -e $dupe_run ]; then
rm -f $dupe_run
# stop duperemove running
if [ -e $dupe_run ]; then
rm -f $dupe_run
- kill -INT $dedup_pids
+ $KILLALL_PROG -q $DUPEREMOVE_PROG > /dev/null 2>&1
wait $dedup_pids
fi
wait $dedup_pids
fi
@@
-74,7
+74,7
@@
for ((i = 0; i < $((2 * LOAD_FACTOR)); i++)); do
while [ -e $dupe_run ]; do
$DUPEREMOVE_PROG -dr --dedupe-options=same $testdir \
>>$seqres.full 2>&1
while [ -e $dupe_run ]; do
$DUPEREMOVE_PROG -dr --dedupe-options=same $testdir \
>>$seqres.full 2>&1
- done &
+ done
2>&1 | sed -e '/Terminated/d'
&
dedup_pids="$! $dedup_pids"
done
dedup_pids="$! $dedup_pids"
done