aboutsummaryrefslogtreecommitdiffstats
path: root/test/fcopy/fcopy.sh
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2016-11-16 11:10:32 -0500
committerLibravatar netblue30 <netblue30@yahoo.com>2016-11-16 11:10:32 -0500
commitedcd62d7523365165e23695d7daabc94f1e9f48d (patch)
tree25649c9b73acd260fbafa30ee66cd6f7ceae8f1c /test/fcopy/fcopy.sh
parentMerge pull request #912 from curiosity-seeker/master (diff)
downloadfirejail-edcd62d7523365165e23695d7daabc94f1e9f48d.tar.gz
firejail-edcd62d7523365165e23695d7daabc94f1e9f48d.tar.zst
firejail-edcd62d7523365165e23695d7daabc94f1e9f48d.zip
fcopy part 1
Diffstat (limited to 'test/fcopy/fcopy.sh')
-rwxr-xr-xtest/fcopy/fcopy.sh23
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
6export MALLOC_CHECK_=3
7export MALLOC_PERTURB_=$(($RANDOM % 255 + 1))
8
9rm -fr dest/*
10
11echo "TESTING: fcopy cmdline (test/fcopy/cmdline.exp)"
12./cmdline.exp
13
14echo "TESTING: fcopy directory (test/fcopy/dircopy.exp)"
15./dircopy.exp
16
17echo "TESTING: fcopy file (test/fcopy/filecopy.exp)"
18./filecopy.exp
19
20echo "TESTING: fcopy link (test/fcopy/linkcopy.exp)"
21./linkcopy.exp
22
23rm -fr dest/*