OSDN Git Service

tests: sanitize PATH; do not discard mkswap output
authorJim Meyering <meyering@redhat.com>
Sun, 19 Feb 2012 14:31:58 +0000 (15:31 +0100)
committerJim Meyering <meyering@redhat.com>
Tue, 21 Feb 2012 08:22:03 +0000 (09:22 +0100)
commitc92748d1bedc53fe0a49ae1eead78315c99e1ec3
tree2419fff9dc50bec6c5c3c47cc534f70901208eb6
parent1f8079c668638f939eac1fe6a4a6fbedab0ac773
tests: sanitize PATH; do not discard mkswap output

* tests/init.cfg (sanitize_path_): New function, from coreutils.
Use it.
* tests/t9050-partition-table-types.sh: Do not discard mkswap output
and diagnostics.  This test would fail (e.g., on OpenSUSE 12.1), when
run with PATH not including /sbin.  Reported by Bruno Haible.
tests/init.cfg
tests/t9050-partition-table-types.sh