]> granicus.if.org Git - p11-kit/commitdiff
test: Remove setgid()ed copy of frob-getenv
authorDaiki Ueno <dueno@redhat.com>
Tue, 13 Dec 2016 09:35:49 +0000 (10:35 +0100)
committerDaiki Ueno <ueno@gnu.org>
Tue, 13 Dec 2016 09:58:35 +0000 (10:58 +0100)
Otherwise the file is left in builddir, after make distclean.

common/test-compat.c

index e28698ee034bd361cd908da5bbc4324178bb471f..77a0c31bec017cb789af735590704335f7dbacda 100644 (file)
@@ -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);
 }