Skip to content
Snippets Groups Projects
Commit 0af4d403 authored by Henrik tom Wörden's avatar Henrik tom Wörden
Browse files

FIX: allow abort

parent f88a84d1
No related branches found
No related tags found
No related merge requests found
Pipeline #8077 failed
...@@ -20,10 +20,12 @@ echo "Testing the crawler database" ...@@ -20,10 +20,12 @@ echo "Testing the crawler database"
python3 -m pytest test_crawler_with_cfoods.py python3 -m pytest test_crawler_with_cfoods.py
echo "make a change" echo "make a change"
pushd extroot pushd extroot
set +e
egrep -liRZ 'A description of another example' . | xargs -0 -l sed -i -e 's/A description of another example/A description of this example/g' egrep -liRZ 'A description of another example' . | xargs -0 -l sed -i -e 's/A description of another example/A description of this example/g'
# remove a file to check that this does not lead to a crawler crash # remove a file to check that this does not lead to a crawler crash
mv DataAnalysis/2010_TestProject/2019-02-03_something/README.xlsx DataAnalysis/2010_TestProject/2019-02-03_something/README.xlsx_back mv DataAnalysis/2010_TestProject/2019-02-03_something/README.xlsx DataAnalysis/2010_TestProject/2019-02-03_something/README.xlsx_back
popd popd
set -e
echo "run crawler" echo "run crawler"
./crawl.py / | tee $OUT ./crawl.py / | tee $OUT
# rename the moved file # rename the moved file
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment