stress2: Fixed cleanup path error
This commit is contained in:
parent
9fb40baf60
commit
014a2b1a11
@ -472,5 +472,5 @@ mycc -o /tmp/syzkaller25 -Wall -Wextra -O0 /tmp/syzkaller25.c -lpthread ||
|
||||
while pkill swap; do :; done
|
||||
wait
|
||||
|
||||
rm -rf /tmp/syzkaller25 syzkaller25.c /tmp/syzkaller.*
|
||||
rm -rf /tmp/syzkaller25 /tmp/syzkaller25.c /tmp/syzkaller.*
|
||||
exit 0
|
||||
|
@ -352,5 +352,5 @@ mycc -o /tmp/syzkaller28 -Wall -Wextra -O0 /tmp/syzkaller28.c -lpthread ||
|
||||
while pkill swap; do :; done
|
||||
wait
|
||||
|
||||
rm -rf /tmp/syzkaller28 syzkaller28.c /tmp/syzkaller.*
|
||||
rm -rf /tmp/syzkaller28 /tmp/syzkaller28.c /tmp/syzkaller.*
|
||||
exit 0
|
||||
|
@ -127,5 +127,5 @@ mycc -o /tmp/syzkaller29 -Wall -Wextra -O0 /tmp/syzkaller29.c ||
|
||||
|
||||
(cd /tmp; timeout 3m ./syzkaller29)
|
||||
|
||||
rm -rf /tmp/syzkaller29 syzkaller29.c /tmp/syzkaller.*
|
||||
rm -rf /tmp/syzkaller29 /tmp/syzkaller29.c /tmp/syzkaller.*
|
||||
exit 0
|
||||
|
@ -66,5 +66,5 @@ mycc -o /tmp/syzkaller30 -Wall -Wextra -O0 /tmp/syzkaller30.c ||
|
||||
|
||||
(cd /tmp; timeout 3m ./syzkaller30)
|
||||
|
||||
rm -rf /tmp/syzkaller30 syzkaller30.c /tmp/syzkaller.*
|
||||
rm -rf /tmp/syzkaller30 /tmp/syzkaller30.c /tmp/syzkaller.*
|
||||
exit 0
|
||||
|
@ -320,5 +320,5 @@ mycc -o /tmp/syzkaller31 -Wall -Wextra -O0 /tmp/syzkaller31.c -lpthread ||
|
||||
while pkill swap; do :; done
|
||||
wait
|
||||
|
||||
rm -rf /tmp/syzkaller31 syzkaller31.c /tmp/syzkaller.*
|
||||
rm -rf /tmp/syzkaller31 /tmp/syzkaller31.c /tmp/syzkaller.*
|
||||
exit 0
|
||||
|
@ -295,5 +295,5 @@ mycc -o /tmp/syzkaller32 -Wall -Wextra -O0 /tmp/syzkaller32.c -lpthread ||
|
||||
while pkill swap; do :; done
|
||||
wait
|
||||
|
||||
rm -rf /tmp/syzkaller32 syzkaller32.c /tmp/syzkaller.*
|
||||
rm -rf /tmp/syzkaller32 /tmp/syzkaller32.c /tmp/syzkaller.*
|
||||
exit 0
|
||||
|
@ -138,5 +138,5 @@ mycc -o /tmp/syzkaller33 -Wall -Wextra -O0 /tmp/syzkaller33.c ||
|
||||
|
||||
(cd /tmp; timeout 3m ./syzkaller33)
|
||||
|
||||
rm -rf /tmp/syzkaller33 syzkaller33.c /tmp/syzkaller.*
|
||||
rm -rf /tmp/syzkaller33 /tmp/syzkaller33.c /tmp/syzkaller.*
|
||||
exit 0
|
||||
|
@ -115,5 +115,5 @@ mycc -o /tmp/syzkaller34 -Wall -Wextra -O0 /tmp/syzkaller34.c ||
|
||||
|
||||
(cd /tmp; timeout 3m ./syzkaller34)
|
||||
|
||||
rm -rf /tmp/syzkaller34 syzkaller34.c /tmp/syzkaller.*
|
||||
rm -rf /tmp/syzkaller34 /tmp/syzkaller34.c /tmp/syzkaller.*
|
||||
exit 0
|
||||
|
@ -97,5 +97,5 @@ kldload cryptodev.ko && loaded=1
|
||||
(cd /tmp; timeout 3m ./syzkaller35)
|
||||
[ $loaded ] && kldunload cryptodev.ko
|
||||
|
||||
rm -rf /tmp/syzkaller35 syzkaller35.c /tmp/syzkaller.*
|
||||
rm -rf /tmp/syzkaller35 /tmp/syzkaller35.c /tmp/syzkaller.*
|
||||
exit 0
|
||||
|
@ -94,5 +94,5 @@ kldload cryptodev.ko && loaded=1
|
||||
(cd /tmp; timeout 3m ./syzkaller36)
|
||||
[ $loaded ] && kldunload cryptodev.ko
|
||||
|
||||
rm -rf /tmp/syzkaller36 syzkaller36.c /tmp/syzkaller.*
|
||||
rm -rf /tmp/syzkaller36 /tmp/syzkaller36.c /tmp/syzkaller.*
|
||||
exit 0
|
||||
|
@ -95,5 +95,5 @@ kldload cryptodev.ko && loaded=1
|
||||
(cd /tmp; timeout 3m ./syzkaller37)
|
||||
[ $loaded ] && kldunload cryptodev.ko
|
||||
|
||||
rm -rf /tmp/syzkaller37 syzkaller37.c /tmp/syzkaller.*
|
||||
rm -rf /tmp/syzkaller37 /tmp/syzkaller37.c /tmp/syzkaller.*
|
||||
exit 0
|
||||
|
@ -59,5 +59,5 @@ mycc -o /tmp/syzkaller38 -Wall -Wextra -O0 /tmp/syzkaller38.c ||
|
||||
|
||||
(cd /tmp; timeout 3m ./syzkaller38)
|
||||
|
||||
rm -rf /tmp/syzkaller38 syzkaller38.c /tmp/syzkaller.*
|
||||
rm -rf /tmp/syzkaller38 /tmp/syzkaller38.c /tmp/syzkaller.*
|
||||
exit 0
|
||||
|
@ -240,5 +240,5 @@ mycc -o /tmp/syzkaller39 -Wall -Wextra -O0 /tmp/syzkaller39.c -lpthread ||
|
||||
|
||||
(cd /tmp; timeout 3m ./syzkaller39)
|
||||
|
||||
rm -rf /tmp/syzkaller39 syzkaller39.c /tmp/syzkaller.*
|
||||
rm -rf /tmp/syzkaller39 /tmp/syzkaller39.c /tmp/syzkaller.*
|
||||
exit 0
|
||||
|
@ -81,5 +81,5 @@ mycc -o /tmp/syzkaller40 -Wall -Wextra -O0 /tmp/syzkaller40.c -lpthread ||
|
||||
|
||||
(cd /tmp; timeout 3m ./syzkaller40)
|
||||
|
||||
rm -rf /tmp/syzkaller40 syzkaller40.c /tmp/syzkaller.*
|
||||
rm -rf /tmp/syzkaller40 /tmp/syzkaller40.c /tmp/syzkaller.*
|
||||
exit 0
|
||||
|
@ -280,5 +280,5 @@ mycc -o /tmp/syzkaller41 -Wall -Wextra -O0 /tmp/syzkaller41.c -lpthread ||
|
||||
|
||||
(cd /tmp; timeout 3m ./syzkaller41)
|
||||
|
||||
rm -rf /tmp/syzkaller41 syzkaller41.c /tmp/syzkaller.*
|
||||
rm -rf /tmp/syzkaller41 /tmp/syzkaller41.c /tmp/syzkaller.*
|
||||
exit 0
|
||||
|
@ -120,5 +120,5 @@ mycc -o /tmp/syzkaller42 -Wall -Wextra -O0 /tmp/syzkaller42.c -lpthread ||
|
||||
|
||||
(cd /tmp; timeout 3m ./syzkaller42)
|
||||
|
||||
rm -rf /tmp/syzkaller42 syzkaller42.c /tmp/syzkaller.*
|
||||
rm -rf /tmp/syzkaller42 /tmp/syzkaller42.c /tmp/syzkaller.*
|
||||
exit 0
|
||||
|
@ -323,5 +323,5 @@ mycc -o /tmp/syzkaller43 -Wall -Wextra -O0 /tmp/syzkaller43.c -lpthread ||
|
||||
|
||||
(cd /tmp; timeout 3m ./syzkaller43)
|
||||
|
||||
rm -rf /tmp/syzkaller43 syzkaller43.c /tmp/syzkaller.*
|
||||
rm -rf /tmp/syzkaller43 /tmp/syzkaller43.c /tmp/syzkaller.*
|
||||
exit 0
|
||||
|
@ -164,6 +164,6 @@ done
|
||||
while pkill swap; do :; done
|
||||
wait
|
||||
|
||||
rm -rf /tmp/syzkaller50 syzkaller50.c /tmp/syzkaller.*
|
||||
rm -rf /tmp/syzkaller50 /tmp/syzkaller50.c /tmp/syzkaller.*
|
||||
[ $loaded ] && kldunload sctp.ko
|
||||
exit 0
|
||||
|
@ -190,6 +190,6 @@ kldstat | grep -q sctp || { kldload sctp.ko && loaded=1; }
|
||||
|
||||
(cd /tmp; timeout 3m ./syzkaller51)
|
||||
|
||||
rm -rf /tmp/syzkaller51 syzkaller51.c /tmp/syzkaller.*
|
||||
rm -rf /tmp/syzkaller51 /tmp/syzkaller51.c /tmp/syzkaller.*
|
||||
[ $loaded ] && kldunload sctp.ko
|
||||
exit 0
|
||||
|
Loading…
Reference in New Issue
Block a user