From: Rabin Vincent <[email protected]>

test-umask fails if run twice.  Make it remove the created temporary
files before the test.

Signed-off-by: Rabin Vincent <[email protected]>
---
 test/test-umask.sh | 2 ++
 1 file changed, 2 insertions(+)

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
-- 
2.1.4

-- 
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to