summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbeck <beck@openbsd.org>2019-05-08 19:29:41 +0000
committerbeck <beck@openbsd.org>2019-05-08 19:29:41 +0000
commitef6415297c3ba4ab0a136a4524c053c171ceb1de (patch)
tree40d874443c293d7d70781ef63942cbba67afbc96
parentwhen passing objects to imsg use the for 'obj, sizeof(*obj)' instead of (diff)
downloadwireguard-openbsd-ef6415297c3ba4ab0a136a4524c053c171ceb1de.tar.xz
wireguard-openbsd-ef6415297c3ba4ab0a136a4524c053c171ceb1de.zip
Add another case for robert@ :)
-rw-r--r--regress/sys/kern/realpath/realpathtest.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/regress/sys/kern/realpath/realpathtest.c b/regress/sys/kern/realpath/realpathtest.c
index 984d32b5849..e0ca3ac79f1 100644
--- a/regress/sys/kern/realpath/realpathtest.c
+++ b/regress/sys/kern/realpath/realpathtest.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: realpathtest.c,v 1.3 2019/04/26 06:47:43 beck Exp $ */
+/* $OpenBSD: realpathtest.c,v 1.4 2019/05/08 19:29:41 beck Exp $ */
/*
* Copyright (c) 2019 Bob Beck <beck@openbsd.org>
@@ -100,6 +100,8 @@ main(int argc, char *argv[])
/* some basics */
RP_SHOULD_SUCCEED("/tmp", NULL, NULL);
+ RP_SHOULD_SUCCEED("/tmp/noreallydoesntexist", NULL, NULL);
+ RP_SHOULD_FAIL("/tmp/noreallydoesntexist/stillnope", NULL, NULL);
RP_SHOULD_SUCCEED("/bin", NULL, NULL);
RP_SHOULD_SUCCEED("/bin/herp", NULL, NULL);
RP_SHOULD_SUCCEED("////usr/bin", NULL, NULL);