From: Daiki Ueno Date: Tue, 13 Dec 2016 09:35:49 +0000 (+0100) Subject: test: Remove setgid()ed copy of frob-getenv X-Git-Tag: 0.23.3~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9773fa8ca877d305a5dea26d07cfcfc445232ae2;p=p11-kit test: Remove setgid()ed copy of frob-getenv Otherwise the file is left in builddir, after make distclean. --- diff --git a/common/test-compat.c b/common/test-compat.c index e28698e..77a0c31 100644 --- a/common/test-compat.c +++ b/common/test-compat.c @@ -103,9 +103,8 @@ test_secure_getenv (void) ret = p11_test_run_child (args, true); assert_num_cmp (ret, ==, 0); -/* if (unlink (path) < 0) + if (unlink (path) < 0) assert_fail ("unlink failed", strerror (errno)); - */ free (path); }