Skip to content

Commit

Permalink
remove strict case check
Browse files Browse the repository at this point in the history
  • Loading branch information
wabscale committed May 21, 2020
1 parent a275a1f commit 7bd1d81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assignments/assignments/final/test-3.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 7bd1d81

Please sign in to comment.