diff --git a/dmake/tests/macros-2 b/dmake/tests/macros-2 new file mode 100755 index 000000000000..5683514faaf7 --- /dev/null +++ b/dmake/tests/macros-2 @@ -0,0 +1,62 @@ +#!/bin/sh + +# 26.01.2006 Volker Quetschke +# TMD is sometimes set incorrectly (issue 61170). + +: ${DMAKEPROG:=dmake} +file1="mfile1.mk" +file2="mfile2.mk" +file3="dirwith space" +tmpfiles="$file1 $file2" + +trap '{ echo "trapped signal - removing temporary files" ; rm -rf $tmpfiles "$file3"; }' 1 2 3 15 + +# Remove files from prior failed run +rm -rf $tmpfiles "$file3" + +# Remember to quote variables in generated makefiles( $ -> \$ ). +# Testcase 1 +cat > $file1 < $file2 <