Skip to content
Snippets Groups Projects
Commit 2376518d authored by Dominik Loidolt's avatar Dominik Loidolt
Browse files

Adaptation to the Linux environment

parent 0c50506d
Branches
Tags
1 merge request!2added feature to guess the compression configuration
...@@ -91,7 +91,13 @@ def test_invalid_option(): ...@@ -91,7 +91,13 @@ def test_invalid_option():
assert(returncode == EXIT_FAILURE) assert(returncode == EXIT_FAILURE)
assert(stdout == HELP_STRING) assert(stdout == HELP_STRING)
if arg == '-q': if arg == '-q':
if sys.platform == 'linux':
assert(stderr == "%s: invalid option -- 'q'\n" % (PATH_CMP_TOOL))
else:
assert(stderr == "cmp_tool: invalid option -- q\n") assert(stderr == "cmp_tool: invalid option -- q\n")
else:
if sys.platform == 'linux':
assert(stderr == "%s: unrecognized option '--not_used'\n" % (PATH_CMP_TOOL))
else: else:
assert(stderr == "cmp_tool: unrecognized option `--not_used'\n") assert(stderr == "cmp_tool: unrecognized option `--not_used'\n")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment