diff options
author | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2011-04-08 15:53:02 +0200 |
---|---|---|
committer | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2011-04-08 15:53:02 +0200 |
commit | 202ca992312b908e410bed9a480e715e3bca660b (patch) | |
tree | 5ecbce98a5a305bf4161eb14a50226c656f808ed /tests/ipmap.t | |
parent | 138c2ced29b23dcf203dc6ba122ae931635209e5 (diff) |
Testsuite changes: keep temporary files
Keep temporary files in the tests and erase them only after successfully
running the testsuite. This makes simpler to analyze failed tests.
Diffstat (limited to 'tests/ipmap.t')
-rw-r--r-- | tests/ipmap.t | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/ipmap.t b/tests/ipmap.t index 443d40d..3331140 100644 --- a/tests/ipmap.t +++ b/tests/ipmap.t @@ -51,13 +51,13 @@ # Range: List set 0 ipset -L test > .foo # Range: Check listing -0 diff -I 'Size in memory.*' .foo ipmap.t.list0 && rm .foo +0 diff -I 'Size in memory.*' .foo ipmap.t.list0 # Range: Delete a range of elements 0 ipset -! -D test 2.0.0.128-2.0.0.132 # Range: List set 0 ipset -L test > .foo # Range: Check listing -0 diff -I 'Size in memory.*' .foo ipmap.t.list1 && rm .foo +0 diff -I 'Size in memory.*' .foo ipmap.t.list1 # Range: Flush test set 0 ipset -F test # Range: Delete test set @@ -93,7 +93,7 @@ # Network: List set 0 ipset -L test > .foo # Network: Check listing -0 diff -I 'Size in memory.*' .foo ipmap.t.list2 && rm .foo +0 diff -I 'Size in memory.*' .foo ipmap.t.list2 # Network: Flush test set 0 ipset -F test # Network: Delete test set @@ -129,7 +129,7 @@ # Subnets: List set 0 ipset -L test > .foo # Subnets: Check listing -0 diff -I 'Size in memory.*' .foo ipmap.t.list3 && rm .foo +0 diff -I 'Size in memory.*' .foo ipmap.t.list3 # Subnets: FLush test set 0 ipset -F test # Subnets: Delete test set @@ -155,7 +155,7 @@ # Full: List set 0 ipset -L test > .foo # Full: Check listing -0 diff -I 'Size in memory.*' .foo ipmap.t.list4 && rm .foo +0 diff -I 'Size in memory.*' .foo ipmap.t.list4 # Full: Delete test set 0 ipset -X test # eof |