aboutsummaryrefslogtreecommitdiffstats
path: root/test
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 /test
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>
Diffstat (limited to 'test')
-rwxr-xr-xtest/test-umask.sh2
1 files changed, 2 insertions, 0 deletions
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