Test that our rm -rf can zap chmod 000 directories. (Skip test on host
because ubuntu's can't.)
diff --git a/tests/rm.test b/tests/rm.test
index 624d60f..95710c8 100755
--- a/tests/rm.test
+++ b/tests/rm.test
@@ -44,3 +44,7 @@
   "yes\n" "" ""
 rm -rf dir*
 
+mkdir -p one && touch one/two && chmod 000 one
+SKIP_HOST=1 testing "-rf 000 dir" \
+  "rm -rf one 2>/dev/null && [ ! -e one ] && echo yes" "yes\n" "" ""
+chmod 777 one 2>/dev/null ; rm -rf one