diff options
author | netblue30 <netblue30@yahoo.com> | 2016-11-16 11:10:32 -0500 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2016-11-16 11:10:32 -0500 |
commit | edcd62d7523365165e23695d7daabc94f1e9f48d (patch) | |
tree | 25649c9b73acd260fbafa30ee66cd6f7ceae8f1c /test/fcopy/fcopy.sh | |
parent | Merge pull request #912 from curiosity-seeker/master (diff) | |
download | firejail-edcd62d7523365165e23695d7daabc94f1e9f48d.tar.gz firejail-edcd62d7523365165e23695d7daabc94f1e9f48d.tar.zst firejail-edcd62d7523365165e23695d7daabc94f1e9f48d.zip |
fcopy part 1
Diffstat (limited to 'test/fcopy/fcopy.sh')
-rwxr-xr-x | test/fcopy/fcopy.sh | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/test/fcopy/fcopy.sh b/test/fcopy/fcopy.sh new file mode 100755 index 000000000..9961d6317 --- /dev/null +++ b/test/fcopy/fcopy.sh | |||
@@ -0,0 +1,23 @@ | |||
1 | #!/bin/bash | ||
2 | # This file is part of Firejail project | ||
3 | # Copyright (C) 2014-2016 Firejail Authors | ||
4 | # License GPL v2 | ||
5 | |||
6 | export MALLOC_CHECK_=3 | ||
7 | export MALLOC_PERTURB_=$(($RANDOM % 255 + 1)) | ||
8 | |||
9 | rm -fr dest/* | ||
10 | |||
11 | echo "TESTING: fcopy cmdline (test/fcopy/cmdline.exp)" | ||
12 | ./cmdline.exp | ||
13 | |||
14 | echo "TESTING: fcopy directory (test/fcopy/dircopy.exp)" | ||
15 | ./dircopy.exp | ||
16 | |||
17 | echo "TESTING: fcopy file (test/fcopy/filecopy.exp)" | ||
18 | ./filecopy.exp | ||
19 | |||
20 | echo "TESTING: fcopy link (test/fcopy/linkcopy.exp)" | ||
21 | ./linkcopy.exp | ||
22 | |||
23 | rm -fr dest/* | ||