diff options
Diffstat (limited to 'src/scripts/cli_tests.py')
-rwxr-xr-x | src/scripts/cli_tests.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/scripts/cli_tests.py b/src/scripts/cli_tests.py index ba0d9affb..5af8cc07b 100755 --- a/src/scripts/cli_tests.py +++ b/src/scripts/cli_tests.py @@ -7,6 +7,7 @@ import argparse import re import subprocess import sys +import os.path import vecparser @@ -127,10 +128,10 @@ if __name__ == '__main__': cli_binary = args.cli_binary - vecfile_cfb = vecparser.VecDocument("src/tests/data/modes/cfb.vec") - vecfile_gcm = vecparser.VecDocument("src/tests/data/aead/gcm.vec") - vecfile_ocb = vecparser.VecDocument("src/tests/data/aead/ocb.vec") - vecfile_xts = vecparser.VecDocument("src/tests/data/modes/xts.vec") + vecfile_cfb = vecparser.VecDocument(os.path.join('src', 'tests', 'data', 'modes', 'cfb.vec')) + vecfile_gcm = vecparser.VecDocument(os.path.join('src', 'tests', 'data', 'aead', 'gcm.vec')) + vecfile_ocb = vecparser.VecDocument(os.path.join('src', 'tests', 'data', 'aead', 'ocb.vec')) + vecfile_xts = vecparser.VecDocument(os.path.join('src', 'tests', 'data', 'modes', 'xts.vec')) #data = vecfile.get_data() #for algo in data: # print(algo) |