summaryrefslogtreecommitdiffstats
path: root/build/pymake/tests/rm-fail.mk
diff options
context:
space:
mode:
Diffstat (limited to 'build/pymake/tests/rm-fail.mk')
-rw-r--r--build/pymake/tests/rm-fail.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/build/pymake/tests/rm-fail.mk b/build/pymake/tests/rm-fail.mk
new file mode 100644
index 000000000..1a9aefb57
--- /dev/null
+++ b/build/pymake/tests/rm-fail.mk
@@ -0,0 +1,7 @@
+#T returncode: 2
+all:
+ mkdir newdir
+ test -d newdir
+ touch newdir/newfile
+ $(RM) newdir
+ @echo TEST-PASS