summaryrefslogtreecommitdiff
path: root/regress/sys
diff options
context:
space:
mode:
authorBob Beck <beck@cvs.openbsd.org>2019-05-08 19:29:42 +0000
committerBob Beck <beck@cvs.openbsd.org>2019-05-08 19:29:42 +0000
commite5eb29dc8f78ef7673f2b50051896860b7cc4a54 (patch)
tree90859c3ef8c6c97258dafd312026f1105c44054d /regress/sys
parentbb68a2ed84e3d065376dddac4cf6db315412ab3c (diff)
Add another case for robert@ :)
Diffstat (limited to 'regress/sys')
-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);