From 7bd1d8104ebfe3ea8d7e465e4476bf4e892c79ca Mon Sep 17 00:00:00 2001 From: juanpunchman Date: Wed, 20 May 2020 23:52:06 -0400 Subject: [PATCH] remove strict case check --- assignments/assignments/final/test-3.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assignments/assignments/final/test-3.py b/assignments/assignments/final/test-3.py index c35656542..393636cc9 100644 --- a/assignments/assignments/final/test-3.py +++ b/assignments/assignments/final/test-3.py @@ -27,7 +27,7 @@ def test(num, cmd): if any('unexpected trap' in i or 'cpu0: panic' in i for i in lines): raise Exception() - if any('Enter password:' in i for i in lines) and \ + if any('Enter password:'.lower() in i.lower() for i in lines) and \ any('init: starting sh' in i for i in lines): print('correct password was accepted') save_results(