File: disable-internet-tests.patch

package info (click to toggle)
firejail 0.9.76-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 9,940 kB
  • sloc: ansic: 38,179; exp: 10,558; sh: 1,545; makefile: 674; python: 505; awk: 32
file content (28 lines) | stat: -rw-r--r-- 708 bytes parent folder | download | duplicates (2)
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
Author: Reiner Herrmann <reiner@reiner-h.de>
Description: disable tests that attempt to access the internet
Forwarded: not-needed

--- a/test/sysutils/sysutils.sh
+++ b/test/sysutils/sysutils.sh
@@ -81,8 +81,7 @@
 
 if command -v ping
 then
-	echo "TESTING: ping"
-	./ping.exp
+	echo "TESTING SKIP: ping"
 else
 	echo "TESTING SKIP: ping not found"
 fi
--- a/test/utils/utils.sh
+++ b/test/utils/utils.sh
@@ -58,8 +58,7 @@
 echo "TESTING: fs.print (test/utils/fs-print.exp)"
 ./fs-print.exp
 
-echo "TESTING: dns.print (test/utils/dns-print.exp)"
-./dns-print.exp
+echo "TESTING SKIP: dns.print (test/utils/dns-print.exp)"
 
 echo "TESTING: seccomp.print (test/utils/seccomp-print.exp)"
 ./seccomp-print.exp