aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/test/test_util.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/test_util.c b/src/test/test_util.c
index 1c7c2fec23..a393079e14 100644
--- a/src/test/test_util.c
+++ b/src/test/test_util.c
@@ -1302,6 +1302,9 @@ test_util_parent_dir(void *ptr)
T("/home", 0, "/");
T("./home/wombat/knish/", 0, "./home/wombat");
T("./wombat", 0, ".");
+ T("wombat", -1, "");
+ T("w", -1, "");
+ T("wombat/knish", 0, "wombat");
T("", -1, "");
T("/", 0, "/");
T("////", 0, "/");