aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-07-04 18:36:03 -0400
committerMike Frysinger <vapier@gentoo.org>2011-07-04 19:06:12 -0400
commit4924cc4606ef4bd5991d66a42996dfb8e7c543ca (patch)
tree29ab07d907bc33a9f7f2b2ec3190e35da09b66fe /tests/test-skel-0.c
parenttests: autogenerate testsuite.at (diff)
downloadsandbox-4924cc4606ef4bd5991d66a42996dfb8e7c543ca.tar.gz
sandbox-4924cc4606ef4bd5991d66a42996dfb8e7c543ca.tar.bz2
sandbox-4924cc4606ef4bd5991d66a42996dfb8e7c543ca.zip
libsandbox: catch mktemp related funcs
URL: http://bugs.gentoo.org/374059 Reported-by: Nick Bowler <nbowler@draconx.ca> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'tests/test-skel-0.c')
-rw-r--r--tests/test-skel-0.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test-skel-0.c b/tests/test-skel-0.c
index b5771d7..3476552 100644
--- a/tests/test-skel-0.c
+++ b/tests/test-skel-0.c
@@ -171,7 +171,9 @@ int main(int argc, char *argv[])
"%s%li (wanted %li)%s; "
"%serrno = %s:%i [%s] (wanted %s:%i [%s])%s\n",
COLOR(passed), passed ? "PASS" : "FAIL", color_normal,
+#if ARG_CNT
FUNC_IMP,
+#endif
(passed ? "" : COLOR(passed_ret)),
actual_ret, want_ret, color_normal,
(!passed && want_errno) ? COLOR(passed_errno) : "",