diff options
-rwxr-xr-x | contrib/jail_prober.py | 2 | ||||
-rwxr-xr-x | test/utils/fs-print.exp | 3 |
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 | } |
27 | expect { | 27 | expect { |
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 | } |
31 | after 100 | 32 | after 100 |
32 | puts "\nall done\n" | 33 | puts "\nall done\n" |