diff options
author | Kelvin M. Klann <kmk3.code@protonmail.com> | 2023-08-23 07:01:51 -0300 |
---|---|---|
committer | Kelvin M. Klann <kmk3.code@protonmail.com> | 2023-08-23 08:08:51 -0300 |
commit | ec504406b9227199acac5d9ccbec3741442b68e6 (patch) | |
tree | 646cd8e57aaada88a556a2aee251e0149352f6eb /test/sysutils | |
parent | update disable-devel.inc (diff) | |
download | firejail-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/sysutils')
-rwxr-xr-x | test/sysutils/strings.exp | 2 | ||||
-rwxr-xr-x | test/sysutils/sysutils.sh | 4 |
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 | |||
13 | send -- "firejail /usr/bin/strings /usr/bin/firejail > firejail_t2\r" | 13 | send -- "firejail /usr/bin/strings /usr/bin/firejail > firejail_t2\r" |
14 | sleep 1 | 14 | sleep 1 |
15 | 15 | ||
16 | send -- "diff -s firejail_t1 firejail_t2\r" | 16 | send -- "diff -s firejail_t1 firejail_t2 | head\r" |
17 | expect { | 17 | expect { |
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 | ||
138 | if command -v strings | 138 | if command -v strings |
139 | then | 139 | then |
140 | echo "TESTING: strings" | 140 | echo "TESTING: FIXME: strings" |
141 | ./strings.exp | 141 | #./strings.exp # FIXME: Broken since commit 3077b2d1f |
142 | else | 142 | else |
143 | echo "TESTING SKIP: strings not found" | 143 | echo "TESTING SKIP: strings not found" |
144 | fi | 144 | fi |