stress2: Fix cleanup
This commit is contained in:
@@ -95,5 +95,5 @@ mycc -o /tmp/$prog -Wall -Wextra -O0 -m32 /tmp/$prog.c || exit 1
|
||||
|
||||
(cd /tmp; timeout 2m ./$prog)
|
||||
|
||||
rm -rf /tmp/$prog /tmp/$prog.c /tmp/syzkaller.*
|
||||
rm -rf /tmp/$prog /tmp/$prog.c /tmp/$prog.core /tmp/syzkaller.*
|
||||
exit 0
|
||||
|
||||
@@ -278,5 +278,5 @@ while pgrep -q $prog; do sleep 2; done
|
||||
while pkill swap; do :; done
|
||||
wait
|
||||
|
||||
rm -rf /tmp/$prog /tmp/$prog.c /tmp/$prog.core /tmp/$prog.?????? $work
|
||||
rm -rf /tmp/$prog /tmp/$prog.c /tmp/$prog.core $work
|
||||
exit 0
|
||||
|
||||
Reference in New Issue
Block a user