From df3f0b618e237cd2fcd74ea7a3ef398fbe290ca9 Mon Sep 17 00:00:00 2001 From: Reiner Herrmann Date: Wed, 15 Aug 2018 19:31:34 +0200 Subject: tests: make sure needed directories exist --- test/fs/fs.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'test/fs/fs.sh') diff --git a/test/fs/fs.sh b/test/fs/fs.sh index c1b589c29..55f5a8770 100755 --- a/test/fs/fs.sh +++ b/test/fs/fs.sh @@ -6,6 +6,9 @@ export MALLOC_CHECK_=3 export MALLOC_PERTURB_=$(($RANDOM % 255 + 1)) +# These directories are required by some tests: +mkdir -p ~/Desktop ~/Documents ~/Downloads ~/Music ~/Pictures ~/Videos + rm -fr ~/_firejail_test_* echo "TESTING: mkdir/mkfile (test/fs/mkdir_mkfile.exp)" ./mkdir_mkfile.exp @@ -58,7 +61,7 @@ echo "TESTING: empty private-etc (test/fs/private-etc-empty.exp)" echo "TESTING: private-bin (test/fs/private-bin.exp)" ./private-bin.exp -echo "TESTING: macros (test/fs/macro..exp)" +echo "TESTING: macros (test/fs/macro.exp)" ./macro.exp echo "TESTING: whitelist empty (test/fs/whitelist-empty.exp)" -- cgit v1.2.3-54-g00ecf