summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2014-04-09 19:31:15 +0200
committerJakub Hrozek <jhrozek@redhat.com>2014-04-10 11:45:29 +0200
commita8f6a9dd171f89ecfb41822901805b5c73b5ea77 (patch)
tree34322ec9090fbf1fed4ff7a1c587a06dd84237f9
parent47bc2d6639c41da1e5bac37eb4af3559bbc0e10e (diff)
downloadsssd-a8f6a9dd171f89ecfb41822901805b5c73b5ea77.tar.gz
sssd-a8f6a9dd171f89ecfb41822901805b5c73b5ea77.tar.xz
sssd-a8f6a9dd171f89ecfb41822901805b5c73b5ea77.zip
tests: Don't set the check fork mode explicitly
Instead, let the user pick the fork mode with CK_FORK variable (see info check) Reviewed-by: Sumit Bose <sbose@redhat.com>
-rw-r--r--src/tests/sbus_codegen_tests.c1
-rw-r--r--src/tests/sbus_tests.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/tests/sbus_codegen_tests.c b/src/tests/sbus_codegen_tests.c
index decff339d..8055cf206 100644
--- a/src/tests/sbus_codegen_tests.c
+++ b/src/tests/sbus_codegen_tests.c
@@ -205,7 +205,6 @@ int main(int argc, const char *argv[])
suite = create_suite();
sr = srunner_create(suite);
- srunner_set_fork_status(sr, CK_FORK);
/* If CK_VERBOSITY is set, use that, otherwise it defaults to CK_NORMAL */
srunner_run_all(sr, CK_ENV);
failure_count = srunner_ntests_failed(sr);
diff --git a/src/tests/sbus_tests.c b/src/tests/sbus_tests.c
index b8cd4abb0..e4cab454d 100644
--- a/src/tests/sbus_tests.c
+++ b/src/tests/sbus_tests.c
@@ -321,7 +321,6 @@ int main(int argc, const char *argv[])
suite = create_suite();
sr = srunner_create(suite);
- srunner_set_fork_status(sr, CK_NOFORK);
/* If CK_VERBOSITY is set, use that, otherwise it defaults to CK_NORMAL */
srunner_run_all(sr, CK_ENV);
failure_count = srunner_ntests_failed(sr);