aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2023-08-23 07:01:51 -0300
committerLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2023-08-23 08:08:51 -0300
commitec504406b9227199acac5d9ccbec3741442b68e6 (patch)
tree646cd8e57aaada88a556a2aee251e0149352f6eb /test
parentupdate disable-devel.inc (diff)
downloadfirejail-ec504406b9227199acac5d9ccbec3741442b68e6.tar.gz
firejail-ec504406b9227199acac5d9ccbec3741442b68e6.tar.zst
firejail-ec504406b9227199acac5d9ccbec3741442b68e6.zip
test: disable broken sysutils strings test
And limit the output of `diff` in the test to avoid logging thousands of lines of a hexdump. Likely broken by commit 3077b2d1f ("update disable-devel.inc", 2023-08-22)[1]. [1] https://github.com/netblue30/firejail/actions/runs/5945120115/job/16123622451
Diffstat (limited to 'test')
-rwxr-xr-xtest/sysutils/strings.exp2
-rwxr-xr-xtest/sysutils/sysutils.sh4
2 files changed, 3 insertions, 3 deletions
diff --git a/test/sysutils/strings.exp b/test/sysutils/strings.exp
index f440a7674..cec1aac69 100755
--- a/test/sysutils/strings.exp
+++ b/test/sysutils/strings.exp
@@ -13,7 +13,7 @@ sleep 1
13send -- "firejail /usr/bin/strings /usr/bin/firejail > firejail_t2\r" 13send -- "firejail /usr/bin/strings /usr/bin/firejail > firejail_t2\r"
14sleep 1 14sleep 1
15 15
16send -- "diff -s firejail_t1 firejail_t2\r" 16send -- "diff -s firejail_t1 firejail_t2 | head\r"
17expect { 17expect {
18 timeout {puts "TESTING ERROR 1\n";exit} 18 timeout {puts "TESTING ERROR 1\n";exit}
19 "firejail_t1 and firejail_t2 are identical" 19 "firejail_t1 and firejail_t2 are identical"
diff --git a/test/sysutils/sysutils.sh b/test/sysutils/sysutils.sh
index f5567ff02..83fdae96f 100755
--- a/test/sysutils/sysutils.sh
+++ b/test/sysutils/sysutils.sh
@@ -137,8 +137,8 @@ fi
137 137
138if command -v strings 138if command -v strings
139then 139then
140 echo "TESTING: strings" 140 echo "TESTING: FIXME: strings"
141 ./strings.exp 141 #./strings.exp # FIXME: Broken since commit 3077b2d1f
142else 142else
143 echo "TESTING SKIP: strings not found" 143 echo "TESTING SKIP: strings not found"
144fi 144fi