Make sure the expected .out file always exists when running diff on it

pull/3336/head
Jelte Fennema 2020-01-06 09:30:02 +01:00
parent 16bcf15e16
commit 2e4e1c030f
1 changed files with 1 additions and 0 deletions

View File

@ -32,6 +32,7 @@ fi
if test -z "${VANILLATEST:-}"
then
touch "$file1" # when adding a new test the expected file does not exist
sed -Ef $BASEDIR/normalize.sed < $file1 > "$file1.modified"
mv "$file1" "$file1.unmodified"
mv "$file1.modified" "$file1"