summaryrefslogtreecommitdiffstats
path: root/src/tests/simple_access-tests.c
diff options
context:
space:
mode:
authorPavel Březina <pbrezina@redhat.com>2012-07-25 09:59:17 +0200
committerJakub Hrozek <jhrozek@redhat.com>2012-07-27 10:51:10 +0200
commit2de495aed26bf75a750a76ca73b9f85d341fe1c5 (patch)
treec9ed8a646e2e1b8eae5f8d7718b2f281e16a910e /src/tests/simple_access-tests.c
parente2f7dcb42ab101122d5a851c685af946eed5ddae (diff)
downloadsssd-2de495aed26bf75a750a76ca73b9f85d341fe1c5.tar.gz
sssd-2de495aed26bf75a750a76ca73b9f85d341fe1c5.tar.xz
sssd-2de495aed26bf75a750a76ca73b9f85d341fe1c5.zip
tests: allow changing cwd in all tests
Diffstat (limited to 'src/tests/simple_access-tests.c')
-rw-r--r--src/tests/simple_access-tests.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tests/simple_access-tests.c b/src/tests/simple_access-tests.c
index 4f041d400..c61814eb5 100644
--- a/src/tests/simple_access-tests.c
+++ b/src/tests/simple_access-tests.c
@@ -28,6 +28,7 @@
#include "confdb/confdb.h"
#include "providers/simple/simple_access.h"
+#include "tests/common.h"
const char *ulist_1[] = {"u1", "u2", NULL};
@@ -197,6 +198,8 @@ int main(int argc, const char *argv[])
CONVERT_AND_SET_DEBUG_LEVEL(debug_level);
+ tests_set_cwd();
+
Suite *s = access_simple_suite();
SRunner *sr = srunner_create(s);
srunner_run_all(sr, CK_ENV);