mirror of
https://gitlab.com/arnekeller/kit-programmieren-ws1920-final1.git
synced 2024-11-27 18:55:55 +00:00
Update fuzzing script
This commit is contained in:
parent
24d304ee0f
commit
f32cff8d25
2
fuzz.sh
2
fuzz.sh
@ -3,7 +3,7 @@ while true; do
|
|||||||
radamsa -o /tmp/input$$-%n -n 100 ~/Documents/KIT/2019/Prog/final1/*input.txt
|
radamsa -o /tmp/input$$-%n -n 100 ~/Documents/KIT/2019/Prog/final1/*input.txt
|
||||||
for filename in /tmp/input$$-*; do
|
for filename in /tmp/input$$-*; do
|
||||||
echo "exit" >> $filename
|
echo "exit" >> $filename
|
||||||
java -cp out/production/final1/ -Xshare:on edu.kit.informatik.Main < $filename
|
java -cp out/production/final1/ -Xshare:on edu.kit.informatik.modelrailwaysimulator.Main < $filename
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
echo OK
|
echo OK
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user