]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
common/dump: do not override test cleanup trap
authorAmir Goldstein <amir73il@gmail.com>
Sun, 27 Jan 2019 07:50:56 +0000 (09:50 +0200)
committerEryu Guan <guaneryu@gmail.com>
Sun, 3 Feb 2019 09:16:44 +0000 (17:16 +0800)
commit6d17c9076fe9d97d2411e5909e6b255e5e721fc3
tree07e0397cdeffb9a2588872fbc2feb6697f1fae83
parentf479ce6186d03cc93680b1ac073dd0dc31baba7e
common/dump: do not override test cleanup trap

Instead, call _cleanup_dump explicitly from a private _cleanup.
Remove the generic cleanup bits (rm $tmp.*) from _cleanup_dump.

The only xfs/dump test that had anything other than rm $tmp.* in
_cleanup in xfs/287, but that was _scratch_unmount, which is not
needed anyway.

Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
36 files changed:
common/dump
tests/xfs/022
tests/xfs/023
tests/xfs/024
tests/xfs/025
tests/xfs/026
tests/xfs/027
tests/xfs/028
tests/xfs/035
tests/xfs/036
tests/xfs/037
tests/xfs/038
tests/xfs/039
tests/xfs/043
tests/xfs/046
tests/xfs/047
tests/xfs/055
tests/xfs/056
tests/xfs/059
tests/xfs/060
tests/xfs/061
tests/xfs/063
tests/xfs/064
tests/xfs/065
tests/xfs/066
tests/xfs/068
tests/xfs/266
tests/xfs/267
tests/xfs/268
tests/xfs/281
tests/xfs/282
tests/xfs/283
tests/xfs/287
tests/xfs/296
tests/xfs/301
tests/xfs/302