]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
generic/490: fix cleanup function
authorTheodore Ts'o <tytso@mit.edu>
Sun, 20 May 2018 18:45:17 +0000 (14:45 -0400)
committerEryu Guan <guaneryu@gmail.com>
Mon, 21 May 2018 08:45:59 +0000 (16:45 +0800)
commit78f713a198eda619c4255bce6a95e5a8e93d85bb
tree83d1d099bd0f78512e3ee01f0064c5f82e1d45d7
parent4b246619a492546403b43ea76a32d471ac346887
generic/490: fix cleanup function

generic/490 fails because cleanup tries to delete . and .. since $tmp
is left unset, and so "rm -f $tmp.*" does nothing useful. Instead
define $tmp and delete temp files created by seek_sanity_test.

[Eryu: define $tmp and remove $tmp.* too on cleanup]

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
tests/generic/490