diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2018-07-20 13:47:36 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2018-07-20 16:04:44 +0200 |
commit | 4bf632672502bc59ca2e8fb1010cf2081b16521e (patch) | |
tree | 069834ccaf3180c4d80e8d5f6476929601bb04b3 /src | |
parent | d1384786b019384515c2abdf03d38b5b64ff237a (diff) |
gitlab/travis: run cppcheck only in ./src, disabled potd --test as it is not properly functioning in docker env's
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/utils.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/utils.c b/src/utils.c index 6f6416c..82902e2 100644 --- a/src/utils.c +++ b/src/utils.c @@ -1047,12 +1047,11 @@ int selftest_minimal_requirements(void) int s; char buf[32] = {0}; char test[64] = {0}; -/* + pid_t child_pid; #ifdef HAVE_SECCOMP pseccomp_ctx *psc = NULL; #endif -*/ N2("%s", "Selftest .."); @@ -1102,7 +1101,6 @@ int selftest_minimal_requirements(void) * The following tests do neither work on travis-ci nor on gitlab. * FIXME: fork() broken on some docker containers? */ -/* s = -1; child_pid = fork(); if (!child_pid) { @@ -1113,10 +1111,8 @@ int selftest_minimal_requirements(void) } else waitpid(child_pid, &s, 0); if (s) goto error; -*/ /* advanced sandbox tests */ -/* if (getuid() == (uid_t) 0) { child_pid = fork(); @@ -1172,7 +1168,6 @@ int selftest_minimal_requirements(void) goto error; } } -*/ N("%s", "Selftest success"); if (getopt_used(OPT_RUNTEST)) |