diff options
-rw-r--r-- | etc/profile-a-l/archiver-common.profile | 1 | ||||
-rw-r--r-- | etc/profile-a-l/kdiff3.profile | 1 | ||||
-rwxr-xr-x | test/sysutils/gzip.exp | 16 | ||||
-rwxr-xr-x | test/sysutils/sysutils.sh | 8 |
4 files changed, 15 insertions, 11 deletions
diff --git a/etc/profile-a-l/archiver-common.profile b/etc/profile-a-l/archiver-common.profile index b0f83aa32..ef875c5b7 100644 --- a/etc/profile-a-l/archiver-common.profile +++ b/etc/profile-a-l/archiver-common.profile | |||
@@ -44,6 +44,7 @@ x11 none | |||
44 | 44 | ||
45 | private-cache | 45 | private-cache |
46 | private-dev | 46 | private-dev |
47 | private-etc | ||
47 | 48 | ||
48 | dbus-user none | 49 | dbus-user none |
49 | dbus-system none | 50 | dbus-system none |
diff --git a/etc/profile-a-l/kdiff3.profile b/etc/profile-a-l/kdiff3.profile index e0b3eadfd..d9e4480f5 100644 --- a/etc/profile-a-l/kdiff3.profile +++ b/etc/profile-a-l/kdiff3.profile | |||
@@ -52,6 +52,7 @@ disable-mnt | |||
52 | private-bin kdiff3 | 52 | private-bin kdiff3 |
53 | private-cache | 53 | private-cache |
54 | private-dev | 54 | private-dev |
55 | private-etc @x11 | ||
55 | 56 | ||
56 | dbus-user none | 57 | dbus-user none |
57 | dbus-system none | 58 | dbus-system none |
diff --git a/test/sysutils/gzip.exp b/test/sysutils/gzip.exp index 75b51694c..b0c41e429 100755 --- a/test/sysutils/gzip.exp +++ b/test/sysutils/gzip.exp | |||
@@ -7,20 +7,14 @@ set timeout 10 | |||
7 | spawn $env(SHELL) | 7 | spawn $env(SHELL) |
8 | match_max 100000 | 8 | match_max 100000 |
9 | 9 | ||
10 | send -- "/bin/gzip -c /usr/bin/firejail > firejail_t1\r" | 10 | send -- "rm index.html*\r" |
11 | sleep 1 | 11 | after 500 |
12 | 12 | ||
13 | send -- "firejail /bin/gzip -c /usr/bin/firejail > firejail_t2\r" | 13 | send -- "firejail gzip -c ../../mkdeb.sh | firejail gunzip -c\r" |
14 | sleep 1 | ||
15 | |||
16 | send -- "diff -s firejail_t1 firejail_t2\r" | ||
17 | expect { | 14 | expect { |
18 | timeout {puts "TESTING ERROR 1\n";exit} | 15 | timeout {puts "TESTING ERROR 1\n";exit} |
19 | "firejail_t1 and firejail_t2 are identical" | 16 | "This file is part of Firejail project" |
20 | } | 17 | } |
21 | 18 | after 500 | |
22 | send -- "rm firejail_t*\r" | ||
23 | sleep 1 | ||
24 | |||
25 | 19 | ||
26 | puts "\nall done\n" | 20 | puts "\nall done\n" |
diff --git a/test/sysutils/sysutils.sh b/test/sysutils/sysutils.sh index 3c035c69c..c74a7d9e8 100755 --- a/test/sysutils/sysutils.sh +++ b/test/sysutils/sysutils.sh | |||
@@ -7,6 +7,14 @@ export MALLOC_CHECK_=3 | |||
7 | export MALLOC_PERTURB_=$(($RANDOM % 255 + 1)) | 7 | export MALLOC_PERTURB_=$(($RANDOM % 255 + 1)) |
8 | export LC_ALL=C | 8 | export LC_ALL=C |
9 | 9 | ||
10 | if command -v gzip | ||
11 | then | ||
12 | echo "TESTING: gzip" | ||
13 | ./gzip.exp | ||
14 | else | ||
15 | echo "TESTING SKIP: md5sum not found" | ||
16 | fi | ||
17 | |||
10 | if command -v md5sum | 18 | if command -v md5sum |
11 | then | 19 | then |
12 | echo "TESTING: md5sum" | 20 | echo "TESTING: md5sum" |