Package: firejail / 0.9.64.4-2+deb11u1

disable-terminal-tests.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
Author: Reiner Herrmann <reiner@reiner-h.de>
Description: disable tests for programs that need to run inside a terminal
 the tests for 'less' and 'man' are currently failing with this error when
 run inside autopkgtest:
  $ firejail less sysutils.sh
  WARNING: terminal is not fully functional
  sysutils.sh  (press RETURN)TESTING ERROR 1
Forwarded: not-needed

--- a/test/sysutils/sysutils.sh
+++ b/test/sysutils/sysutils.sh
@@ -52,15 +52,6 @@
 	echo "TESTING SKIP: xz not found"
 fi
 
-which less 2>/dev/null
-if [ "$?" -eq 0 ];
-then
-	echo "TESTING: less"
-	./less.exp
-else
-	echo "TESTING SKIP: less not found"
-fi
-
 which file 2>/dev/null
 if [ "$?" -eq 0 ];
 then
--- a/test/utils/utils.sh
+++ b/test/utils/utils.sh
@@ -40,15 +40,6 @@
 echo "TESTING: help (test/utils/help.exp)"
 ./help.exp
 
-which man 2>/dev/null
-if [ "$?" -eq 0 ];
-then
-        echo "TESTING: man (test/utils/man.exp)"
-        ./man.exp
-else
-        echo "TESTING SKIP: man not found"
-fi
-
 echo "TESTING: list (test/utils/list.exp)"
 ./list.exp