Skip to content

Commit

Permalink
Refine super mode test case
Browse files Browse the repository at this point in the history
  • Loading branch information
jondy committed Jun 25, 2020
1 parent 26f9e92 commit 63d1ae6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/function-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -580,6 +580,7 @@ def foo(n):
print('n is %s' % n)
foo(2)
foo(3)
EOF

$PYARMOR obfuscate --exact --advanced 2 -O $dist sufoo2.py >result.log 2>&1
Expand All @@ -589,6 +590,7 @@ check_return_value
check_return_value
check_file_content $dist/result.log "Super Mode: 2"
check_file_content $dist/result.log "n is 28"
check_file_content $dist/result.log "n is 29"

csih_inform "S-7. Test super mode with clean_str"
dist=dist-super-mode-7
Expand Down

0 comments on commit 63d1ae6

Please sign in to comment.