summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorDaiki Ueno <dueno@redhat.com>2016-12-13 10:35:49 +0100
committerDaiki Ueno <ueno@gnu.org>2016-12-13 10:58:35 +0100
commit9773fa8ca877d305a5dea26d07cfcfc445232ae2 (patch)
tree30f98eba7ae59f068723cd896943158730804500 /common
parent5af8da1f4949807925e23b866f6280dcf7d74f87 (diff)
test: Remove setgid()ed copy of frob-getenv
Otherwise the file is left in builddir, after make distclean.
Diffstat (limited to 'common')
-rw-r--r--common/test-compat.c3
1 files changed, 1 insertions, 2 deletions
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);
}