1 #!/usr/bin/env bash 2 # 3 # Tests to confirm GitHub issue #19 is resolved 4 # 5 # https://github.com/dharple/detox/issues/19 6 # 7 8 set -e 9 10 if [ -z "$TESTBASE" ] ; then 11 echo TESTBASE needs to be passed via the env 12 exit 1 13 fi 14 15 . $TESTBASE/test-functions 16 17 # Run the test based on data from the issue 18 19 DETOX=$1 20 INPUT="01 5G Core Networks.pdf" 21 OUTPUT="01 5G Core Networks.pdf" 22 METHOD="safe" 23 TABLE="test.tbl" 24 25 test_single_table "$DETOX" "$INPUT" "$OUTPUT" "$METHOD" "$TABLE"