diff --git a/integrationtests/test.sh b/integrationtests/test.sh index 80a2afe307ab1da628faa39d4ba8ef93bc6959e4..e9a6d757b020ab2a4c9b575ac517bad18d5f9294 100755 --- a/integrationtests/test.sh +++ b/integrationtests/test.sh @@ -1,4 +1,14 @@ #!/bin/bash +if [ $1 != "-force" ] +then + echo "Warning: for these tests, the whole database is deleted. Do you want to proceed? (yes/exit)" + read safety + if [ $safety != "yes" ] + then + echo "Exiting..." + exit 0 + fi +fi OUT=/tmp/crawler.output ls cat pycaosdb.ini