diff options
-rw-r--r-- | bin/test/test.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/test/test.c b/bin/test/test.c index 23d5d0e6efe..7b81b941ae7 100644 --- a/bin/test/test.c +++ b/bin/test/test.c @@ -1,4 +1,4 @@ -/* $OpenBSD: test.c,v 1.13 2014/12/02 18:32:05 tedu Exp $ */ +/* $OpenBSD: test.c,v 1.14 2015/10/03 23:34:01 deraadt Exp $ */ /* $NetBSD: test.c,v 1.15 1995/03/21 07:04:06 cgd Exp $ */ /* @@ -158,6 +158,9 @@ main(int argc, char *argv[]) extern char *__progname; int res; + if (tame("stdio rpath", NULL) == -1) + err(1, "tame"); + if (strcmp(__progname, "[") == 0) { if (strcmp(argv[--argc], "]")) errx(2, "missing ]"); |