aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunder2015 <[email protected]>2018-05-07 00:02:10 -0400
committerBrian Behlendorf <[email protected]>2018-05-06 21:02:10 -0700
commita82a4a15be9559b20ec8e8df1430fc4c901d0b69 (patch)
tree9fff7d1de30b4c16956c807f29e1ea8d1731856b
parente1245d83e9c0d556272c3f3c874adab49a1e088c (diff)
ZTS: remove dead cleanup code from snapshot tests
Caught during path cleanups, the files referenced do not appear to be created or used anywhere. Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: bunder2015 <[email protected]> Closes #7508
-rwxr-xr-xtests/zfs-tests/tests/functional/snapshot/snapshot_002_pos.ksh4
-rwxr-xr-xtests/zfs-tests/tests/functional/snapshot/snapshot_006_pos.ksh4
2 files changed, 0 insertions, 8 deletions
diff --git a/tests/zfs-tests/tests/functional/snapshot/snapshot_002_pos.ksh b/tests/zfs-tests/tests/functional/snapshot/snapshot_002_pos.ksh
index f9c05e651..b404ffbd5 100755
--- a/tests/zfs-tests/tests/functional/snapshot/snapshot_002_pos.ksh
+++ b/tests/zfs-tests/tests/functional/snapshot/snapshot_002_pos.ksh
@@ -68,10 +68,6 @@ function cleanup
log_must rm -rf $TESTDIR/* > /dev/null 2>&1
fi
- if [[ -e /tmp/zfs_snapshot2.$$ ]]; then
- log_must rm -rf /tmp/zfs_snapshot2.$$ > /dev/null 2>&1
- fi
-
}
log_assert "Verify an archive of a file system is identical to " \
diff --git a/tests/zfs-tests/tests/functional/snapshot/snapshot_006_pos.ksh b/tests/zfs-tests/tests/functional/snapshot/snapshot_006_pos.ksh
index 632f50059..dc50e4693 100755
--- a/tests/zfs-tests/tests/functional/snapshot/snapshot_006_pos.ksh
+++ b/tests/zfs-tests/tests/functional/snapshot/snapshot_006_pos.ksh
@@ -67,10 +67,6 @@ function cleanup
log_must rm -rf $TESTDIR1/* > /dev/null 2>&1
fi
- if [[ -e /tmp/zfs_snapshot2.$$ ]]; then
- log_must rm -rf /tmp/zfs_snapshot2.$$ > /dev/null 2>&1
- fi
-
}
log_assert "Verify that an archive of a dataset is identical to " \