From e5eb29dc8f78ef7673f2b50051896860b7cc4a54 Mon Sep 17 00:00:00 2001 From: Bob Beck Date: Wed, 8 May 2019 19:29:42 +0000 Subject: Add another case for robert@ :) --- regress/sys/kern/realpath/realpathtest.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'regress') 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 @@ -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); -- cgit v1.2.3