dmd/test/compilable/extra-files/json-postscript.sh
2013-01-20 23:30:05 -08:00

10 lines
319 B
Bash
Executable file

#!/usr/bin/env bash
grep -v "\"file\" : " ${RESULTS_DIR}/compilable/json.out | grep -v "\"offset\" : " > ${RESULTS_DIR}/compilable/json.out.2
diff --strip-trailing-cr compilable/extra-files/json.out ${RESULTS_DIR}/compilable/json.out.2
if [ $? -ne 0 ]; then
exit 1;
fi
rm ${RESULTS_DIR}/compilable/json.out{,.2}