tests: do not run chmod on a prefix of space-embedded tmpdir
authorJim Meyering <meyering@redhat.com>
Tue, 22 Jul 2008 09:23:08 +0000 (11:23 +0200)
committerJim Meyering <meyering@redhat.com>
Tue, 22 Jul 2008 11:15:02 +0000 (13:15 +0200)
commitf82c5ba71efd1228a58953b6efc5e0d84c73e8a4
tree355886625c4d80089677b4ad4acf25c3851c17df
parent9bb0d5766eeb200dae447a616903f14a0079aa63
tests: do not run chmod on a prefix of space-embedded tmpdir

* TESTS/test-lib.sh (remove_tmp_): New function.
(trap 0): Use it instead of open-coded (and misquoted) version.
tests/test-lib.sh