summaryrefslogtreecommitdiff
path: root/python/pymake/tests/rm-fail.mk
diff options
context:
space:
mode:
Diffstat (limited to 'python/pymake/tests/rm-fail.mk')
-rw-r--r--python/pymake/tests/rm-fail.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/python/pymake/tests/rm-fail.mk b/python/pymake/tests/rm-fail.mk
new file mode 100644
index 000000000..1a9aefb57
--- /dev/null
+++ b/python/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