]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tests: shell script portability and clean-up
authorJim Meyering <meyering@redhat.com>
Wed, 24 Mar 2010 08:05:27 +0000 (09:05 +0100)
committerJim Meyering <meyering@redhat.com>
Wed, 24 Mar 2010 08:23:01 +0000 (09:23 +0100)
commitca7db6cb8000cc283fcee7899140d2fc892b0296
treed260953db3d8f737687ea424ea38d3675c5361b0
parent8a7783c16378e4684d121ad49a65659f8d33a9cf
tests: shell script portability and clean-up

* tests/test-lib.sh: "echo -n" is not portable.  Use printf instead.
Remove unnecessary uses of "eval-in-subshell" (subshell is sufficient).
Remove uses of tests' -a operator; it is not portable.
Instead, use "test cond && test cond2".
* tests/schematestutils.sh: Replace use of test's -a.
tests/schematestutils.sh
tests/test-lib.sh