aboutsummaryrefslogtreecommitdiff
path: root/tests/unittests/torture_config.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unittests/torture_config.c')
-rw-r--r--tests/unittests/torture_config.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/unittests/torture_config.c b/tests/unittests/torture_config.c
index 7efa32db..a2de4a6d 100644
--- a/tests/unittests/torture_config.c
+++ b/tests/unittests/torture_config.c
@@ -548,7 +548,7 @@ static void torture_config_match(void **state)
assert_string_equal(session->opts.host, "otherhost");
torture_write_file(LIBSSH_TESTCONFIG10,
- "Match exec /bin/true\n"
+ "Match exec true\n"
"\tHostName execed-true.com\n"
"");
torture_reset_config(session);
@@ -562,7 +562,7 @@ static void torture_config_match(void **state)
#endif
torture_write_file(LIBSSH_TESTCONFIG10,
- "Match !exec /bin/false\n"
+ "Match !exec false\n"
"\tHostName execed-false.com\n"
"");
torture_reset_config(session);
@@ -576,7 +576,7 @@ static void torture_config_match(void **state)
#endif
torture_write_file(LIBSSH_TESTCONFIG10,
- "Match exec \"test -f /bin/true\"\n"
+ "Match exec \"test 1 -eq 1\"\n"
"\tHostName execed-arguments.com\n"
"");
torture_reset_config(session);