tests: Let shell resolve the absolute path to binaries in Exec tests

Signed-off-by: Jakub Jelen <jjelen@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Reviewed-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
This commit is contained in:
Jakub Jelen
2019-10-01 13:49:20 +02:00
parent fe18ef2798
commit 17952c4953
2 changed files with 5 additions and 5 deletions

View File

@@ -693,7 +693,7 @@ static void torture_options_config_match(void **state)
torture_reset_config(session);
config = fopen("test_config", "w");
assert_non_null(config);
fputs("Match exec /bin/true\n"
fputs("Match exec true\n"
"\tPort 33\n"
"Match all\n"
"\tPort 34\n",
@@ -715,7 +715,7 @@ static void torture_options_config_match(void **state)
torture_reset_config(session);
config = fopen("test_config", "w");
assert_non_null(config);
fputs("Match exec \"/bin/true 1\"\n"
fputs("Match exec \"true 1\"\n"
"\tPort 33\n"
"Match all\n"
"\tPort 34\n",