tests: avoid failure with older version of Perl's File::Temp
commitfc6827e2bb0a8d4d70c7f399e3b2915654a0c926
authorJim Meyering <meyering@redhat.com>
Fri, 30 May 2008 07:45:53 +0000 (30 09:45 +0200)
committerJim Meyering <meyering@redhat.com>
Fri, 30 May 2008 07:45:53 +0000 (30 09:45 +0200)
tree8af249afa77473e8bf5c4a12f54ff2a3dbdca9f9
parent6c9b50532965ef84536b2dcfc4578fbaf9ec38d8
tests: avoid failure with older version of Perl's File::Temp

* tests/CuTmpdir.pm (import): Use &File::Temp::cleanup only
if it is defined.  Reported by Bruno Haible in
http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/13652
tests/CuTmpdir.pm