]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
generic/{436,445}: define _cleanup function earlier in the tests
authorLuis Henriques <lhenriques@suse.com>
Fri, 17 May 2019 15:56:35 +0000 (16:56 +0100)
committerEryu Guan <guaneryu@gmail.com>
Sun, 26 May 2019 06:10:25 +0000 (14:10 +0800)
commit0eccec6cdbacb86497a8c1507e573c451a730941
tree519db7df7f357560f29ba2e2844e4d54acc1f098
parent58937c3f24da5fc7c8e3039cc60bacbe972e281c
generic/{436,445}: define _cleanup function earlier in the tests

If the filesystem doesn't support a feature that is required for the tests
to run, they will fail to execute the _cleanup function because it isn't yet
defined:

  ./common/rc: line 1: _cleanup: command not found

This error became more visible with commit 87a53d2e7c82 ("generic/{436,445}:
check falloc support").

Cc: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Luis Henriques <lhenriques@suse.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
tests/generic/436
tests/generic/445