diff options
author | 2023-02-28 09:51:26 -0500 | |
---|---|---|
committer | 2023-02-28 09:51:26 -0500 | |
commit | 27c4d069f322fbeca07c88e0e96208233103a5db (patch) | |
tree | fb4b4fdc75eb5e633ab55b8228a60f54176446a0 /test/overlay/overlay.sh | |
parent | fix cppcheck/scan-build problems (diff) | |
download | firejail-27c4d069f322fbeca07c88e0e96208233103a5db.tar.gz firejail-27c4d069f322fbeca07c88e0e96208233103a5db.tar.zst firejail-27c4d069f322fbeca07c88e0e96208233103a5db.zip |
chroot testing
Diffstat (limited to 'test/overlay/overlay.sh')
-rwxr-xr-x | test/overlay/overlay.sh | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/test/overlay/overlay.sh b/test/overlay/overlay.sh deleted file mode 100755 index 2015942d9..000000000 --- a/test/overlay/overlay.sh +++ /dev/null | |||
@@ -1,62 +0,0 @@ | |||
1 | #!/bin/bash | ||
2 | # This file is part of Firejail project | ||
3 | # Copyright (C) 2014-2023 Firejail Authors | ||
4 | # License GPL v2 | ||
5 | |||
6 | export MALLOC_CHECK_=3 | ||
7 | export MALLOC_PERTURB_=$(($RANDOM % 255 + 1)) | ||
8 | export LC_ALL=C | ||
9 | |||
10 | echo "TESTING: overlay fs (test/overlay/fs.exp)" | ||
11 | rm -fr ~/_firejail_test_* | ||
12 | ./fs.exp | ||
13 | rm -fr ~/_firejail_test_* | ||
14 | |||
15 | echo "TESTING: overlay named fs (test/overlay/fs-named.exp)" | ||
16 | rm -fr ~/_firejail_test_* | ||
17 | ./fs-named.exp | ||
18 | rm -fr ~/_firejail_test_* | ||
19 | |||
20 | echo "TESTING: overlay tmpfs fs (test/overlay/fs-tmpfs.exp)" | ||
21 | rm -fr ~/_firejail_test_* | ||
22 | ./fs-tmpfs.exp | ||
23 | rm -fr ~/_firejail_test_* | ||
24 | |||
25 | if command -v firefox | ||
26 | then | ||
27 | echo "TESTING: overlay firefox" | ||
28 | ./firefox.exp | ||
29 | else | ||
30 | echo "TESTING SKIP: firefox not found" | ||
31 | fi | ||
32 | |||
33 | if command -v firefox | ||
34 | then | ||
35 | echo "TESTING: overlay firefox x11 xorg" | ||
36 | ./firefox.exp | ||
37 | else | ||
38 | echo "TESTING SKIP: firefox not found" | ||
39 | fi | ||
40 | |||
41 | # check xpra/xephyr | ||
42 | if command -v xpra | ||
43 | then | ||
44 | echo "xpra found" | ||
45 | else | ||
46 | echo "xpra not found" | ||
47 | if command -v Xephyr | ||
48 | then | ||
49 | echo "Xephyr found" | ||
50 | else | ||
51 | echo "TESTING SKIP: xpra and/or Xephyr not found" | ||
52 | exit | ||
53 | fi | ||
54 | fi | ||
55 | |||
56 | if command -v firefox | ||
57 | then | ||
58 | echo "TESTING: overlay firefox x11" | ||
59 | ./firefox-x11.exp | ||
60 | else | ||
61 | echo "TESTING SKIP: firefox not found" | ||
62 | fi | ||