aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSeebs <seebs@seebs.net>2016-12-12 14:22:34 -0600
committerSeebs <seebs@seebs.net>2016-12-12 14:22:34 -0600
commitfc66205e2603a7e715c921d66314457e286786e0 (patch)
treeedce91922bae19c79cc242c1d5e774639818d7c8
parentda64740b6c5ffc26e58cedb85c91432b6e425527 (diff)
downloadpseudo-fc66205e2603a7e715c921d66314457e286786e0.tar.gz
pseudo-fc66205e2603a7e715c921d66314457e286786e0.tar.bz2
pseudo-fc66205e2603a7e715c921d66314457e286786e0.zip
From: Rabin Vincent <rabinv@axis.com>
test-umask fails if run twice. Make it remove the created temporary files before the test. Signed-off-by: Rabin Vincent <rabinv@axis.com> Signed-off-by: Seebs <seebs@seebs.net>
-rw-r--r--ChangeLog.txt1
-rwxr-xr-xtest/test-umask.sh2
2 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog.txt b/ChangeLog.txt
index f8406e3..77b1ff4 100644
--- a/ChangeLog.txt
+++ b/ChangeLog.txt
@@ -3,6 +3,7 @@
* (seebs) contributed fixes for Python 3 print support
* (seebs) contributed fixes for Python 3 support
* All of these from: Gaƫl PORTAY <gael.portay@savoirfairelinux.com>
+ * (seebs) import fix from Rabin Vincent for test case
2016-11-23:
* (seebs) actually wait on server shutdown for pseudo -S [cmd]
diff --git a/test/test-umask.sh b/test/test-umask.sh
index 48cb3b1..8ca4963 100755
--- a/test/test-umask.sh
+++ b/test/test-umask.sh
@@ -4,6 +4,8 @@ mode() {
ls -l "$1" | awk '{ print $1 }'
}
+rm -f a b
+
# Verify normal operation...
umask 022
touch a