Skip to content
Snippets Groups Projects

MAINT: change wording of TableImporter argument and allow converters and...

Merged Florian Spreckelsen requested to merge release-0.8.0 into main
33 files
+ 677
150
Compare changes
  • Side-by-side
  • Inline
Files
33
+ 7
5
@@ -43,21 +43,23 @@ mv DataAnalysis/2010_TestProject/2019-02-03_something/README.xlsx \
DataAnalysis/2010_TestProject/2019-02-03_something/README.xlsx_back
cd ..
echo "run crawler"
./crawl.py / | tee $OUT
./crawl.py / | tee "$OUT"
# rename the moved file
mv extroot/DataAnalysis/2010_TestProject/2019-02-03_something/README.xlsx_back \
extroot/DataAnalysis/2010_TestProject/2019-02-03_something/README.xlsx
# check whether there was something UNAUTHORIZED
grep "There where unauthorized changes" $OUT
grep "There where unauthorized changes" "$OUT"
# get the id of the run which is the last field of the output string
RUN_ID=$(grep "run id:" $OUT | awk '{ print $NF }')
RUN_ID=$(grep "run id:" "$OUT" | awk '{ print $NF }')
echo $RUN_ID
echo "run crawler again"
echo "./crawl.py -a $RUN_ID /"
./crawl.py -a $RUN_ID / | tee $OUT
./crawl.py -a $RUN_ID / | tee "$OUT"
set +e
if grep "There where unauthorized changes" $OUT
if grep "There where unauthorized changes" "$OUT"
then
echo "There still were unauthorized changes, which should not have happend!"
echo "Test FAILED"
exit 1
fi
set -e
Loading