diff options
Diffstat (limited to 'app-forensics/libewf/files/libewf-20140608-fix-tmpdir-in-tests.patch')
-rw-r--r-- | app-forensics/libewf/files/libewf-20140608-fix-tmpdir-in-tests.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/app-forensics/libewf/files/libewf-20140608-fix-tmpdir-in-tests.patch b/app-forensics/libewf/files/libewf-20140608-fix-tmpdir-in-tests.patch new file mode 100644 index 000000000000..09a6948d7c79 --- /dev/null +++ b/app-forensics/libewf/files/libewf-20140608-fix-tmpdir-in-tests.patch @@ -0,0 +1,33 @@ +--- a/tests/test_read_write.sh ++++ b/tests/test_read_write.sh +@@ -25,7 +25,7 @@ EXIT_FAILURE=1; + EXIT_IGNORE=77; + + INPUT="input"; +-TMP="tmp"; ++TMP=$(mktemp -ut); + + LS="ls"; + TR="tr"; +--- a/tests/test_read_write_delta.sh ++++ b/tests/test_read_write_delta.sh +@@ -25,7 +25,7 @@ EXIT_FAILURE=1; + EXIT_IGNORE=77; + + INPUT="input"; +-TMP="tmp"; ++TMP=$(mktemp -ut); + + AWK="awk"; + CUT="cut"; +--- a/tests/test_write.sh ++++ b/tests/test_write.sh +@@ -24,7 +24,7 @@ EXIT_SUCCESS=0; + EXIT_FAILURE=1; + EXIT_IGNORE=77; + +-TMP="tmp"; ++TMP=$(mktemp -ut); + + CUT="cut"; + |