aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcontrib/jail_prober.py2
-rwxr-xr-xtest/utils/fs-print.exp3
2 files changed, 3 insertions, 2 deletions
diff --git a/contrib/jail_prober.py b/contrib/jail_prober.py
index a5f279cb4..b18834820 100755
--- a/contrib/jail_prober.py
+++ b/contrib/jail_prober.py
@@ -113,7 +113,7 @@ def run_firejail(program, allArgs):
113 print('Running with', arg) 113 print('Running with', arg)
114 subprocess.call(goodArgs) 114 subprocess.call(goodArgs)
115 ans = input('Did %s run correctly? [y]/n ' % program) 115 ans = input('Did %s run correctly? [y]/n ' % program)
116 if ans == 'n' or ans == 'N': 116 if ans in ['n', 'N']:
117 badArgs.append(arg) 117 badArgs.append(arg)
118 else: 118 else:
119 goodArgs.insert(-1, arg) 119 goodArgs.insert(-1, arg)
diff --git a/test/utils/fs-print.exp b/test/utils/fs-print.exp
index 21f6f68ff..17757f35f 100755
--- a/test/utils/fs-print.exp
+++ b/test/utils/fs-print.exp
@@ -26,7 +26,8 @@ expect {
26} 26}
27expect { 27expect {
28 timeout {puts "TESTING ERROR 3\n";exit} 28 timeout {puts "TESTING ERROR 3\n";exit}
29 "blacklist /bin/su" 29 "blacklist /usr/bin/su" {puts "Arch Linux";}
30 "blacklist /bin/su" {puts "Debian"}
30} 31}
31after 100 32after 100
32puts "\nall done\n" 33puts "\nall done\n"