diff options
author | Russ Allbery <eagle@eyrie.org> | 2016-07-29 12:56:54 -0700 |
---|---|---|
committer | Russ Allbery <eagle@eyrie.org> | 2016-07-29 12:57:07 -0700 |
commit | 2982f6f6f60f9b2907d4f5f7d912ce74be2541f4 (patch) | |
tree | 67e37e90412a586dd8773172ac060810c086c409 /tests | |
parent | ff72e8e5721761abe9ccbab56334f1c01416706f (diff) |
Use the right path for the server/sudo test configuration
Diffstat (limited to 'tests')
-rw-r--r-- | tests/server/sudo-t.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/server/sudo-t.c b/tests/server/sudo-t.c index d5074ba..f19ce52 100644 --- a/tests/server/sudo-t.c +++ b/tests/server/sudo-t.c @@ -26,11 +26,9 @@ main(void) /* Suppress normal logging. */ message_handlers_notice(0); - /* The tests are actually done by the command we run. */ - if (chdir(getenv("C_TAP_SOURCE")) < 0) - sysbail("can't chdir to C_TAP_SOURCE"); - /* Load the test configuration. */ + if (chdir(getenv("C_TAP_BUILD")) < 0) + sysbail("can't chdir to C_TAP_BUILD"); config = server_config_load("data/conf-simple"); if (config == NULL) bail("server_config_load returned NULL"); |