aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/profile-a-l/archiver-common.profile1
-rw-r--r--etc/profile-a-l/kdiff3.profile1
-rwxr-xr-xtest/sysutils/gzip.exp16
-rwxr-xr-xtest/sysutils/sysutils.sh8
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
45private-cache 45private-cache
46private-dev 46private-dev
47private-etc
47 48
48dbus-user none 49dbus-user none
49dbus-system none 50dbus-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
52private-bin kdiff3 52private-bin kdiff3
53private-cache 53private-cache
54private-dev 54private-dev
55private-etc @x11
55 56
56dbus-user none 57dbus-user none
57dbus-system none 58dbus-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
7spawn $env(SHELL) 7spawn $env(SHELL)
8match_max 100000 8match_max 100000
9 9
10send -- "/bin/gzip -c /usr/bin/firejail > firejail_t1\r" 10send -- "rm index.html*\r"
11sleep 1 11after 500
12 12
13send -- "firejail /bin/gzip -c /usr/bin/firejail > firejail_t2\r" 13send -- "firejail gzip -c ../../mkdeb.sh | firejail gunzip -c\r"
14sleep 1
15
16send -- "diff -s firejail_t1 firejail_t2\r"
17expect { 14expect {
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 18after 500
22send -- "rm firejail_t*\r"
23sleep 1
24
25 19
26puts "\nall done\n" 20puts "\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
7export MALLOC_PERTURB_=$(($RANDOM % 255 + 1)) 7export MALLOC_PERTURB_=$(($RANDOM % 255 + 1))
8export LC_ALL=C 8export LC_ALL=C
9 9
10if command -v gzip
11then
12 echo "TESTING: gzip"
13 ./gzip.exp
14else
15 echo "TESTING SKIP: md5sum not found"
16fi
17
10if command -v md5sum 18if command -v md5sum
11then 19then
12 echo "TESTING: md5sum" 20 echo "TESTING: md5sum"