summaryrefslogtreecommitdiffstats
path: root/test/Delete.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/Delete.py')
-rw-r--r--test/Delete.py20
1 files changed, 12 insertions, 8 deletions
diff --git a/test/Delete.py b/test/Delete.py
index 138dc95..31febbe 100644
--- a/test/Delete.py
+++ b/test/Delete.py
@@ -53,14 +53,18 @@ env.Command('f8.out', 'f8.in', [Delete("$FILE"), Delete("$DIR"), Cat])
env.Command('f9.out', 'f9.in', [Cat,
Delete("Delete-$SOURCE"),
Delete("$TARGET-Delete")])
-env.Command('f10-nonexistent.out', 'f10.in', [Delete("$TARGET"),
- Cat])
-env.Command('d11-nonexistent.out', 'd11.in', [Delete("$TARGET"),
- Mkdir("$TARGET")])
-env.Command('f12-nonexistent.out', 'f12.in', [Delete("$TARGET", must_exist=0),
- Cat])
-env.Command('d13-nonexistent.out', 'd13.in', [Delete("$TARGET", must_exist=0),
- Mkdir("$TARGET")])
+
+env.Command('f10-nonexistent.out', 'f10.in',
+ [Delete("$TARGET"), Cat])
+
+env.Command(Dir('d11-nonexistent.out'), 'd11.in',
+ [Delete("$TARGET"), Mkdir("$TARGET")])
+
+env.Command('f12-nonexistent.out', 'f12.in',
+ [Delete("$TARGET", must_exist=0), Cat])
+
+env.Command(Dir('d13-nonexistent.out'), 'd13.in',
+ [Delete("$TARGET", must_exist=0), Mkdir("$TARGET")])
""")
test.write('f1', "f1\n")