summaryrefslogtreecommitdiff
path: root/testsuite/rmdir/rmdir-removes-parent-directories
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/rmdir/rmdir-removes-parent-directories')
-rw-r--r--testsuite/rmdir/rmdir-removes-parent-directories3
1 files changed, 3 insertions, 0 deletions
diff --git a/testsuite/rmdir/rmdir-removes-parent-directories b/testsuite/rmdir/rmdir-removes-parent-directories
new file mode 100644
index 0000000..222f5de
--- /dev/null
+++ b/testsuite/rmdir/rmdir-removes-parent-directories
@@ -0,0 +1,3 @@
+mkdir -p foo/bar
+busybox rmdir -p foo/bar
+test ! -d foo