]> err.no Git - util-linux/commit
tests: swapon workaround for libtool wrapper
authorKarel Zak <kzak@redhat.com>
Tue, 13 Oct 2009 13:37:49 +0000 (15:37 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 13 Oct 2009 13:37:49 +0000 (15:37 +0200)
commitd4e0f2f2ad93124c01695c072e7a514ff8e27d2c
tree020b80fd4631fa93887d8370c594431417a70da5
parent01373d74ef13014262d599cd9c26c1ec724a2204
tests: swapon workaround for libtool wrapper

The swapon command behaviour depends on program name (argv[0] = swapon
| swapoff). It means we cannot use the libtool wrapper script in our
regression tests. It seems better to call the binaries directly with
proper LD_LIBRARY_PATH. This is probably less portable, but good
enough for our tests.

Signed-off-by: Karel Zak <kzak@redhat.com>
tests/commands.sh.in
tests/functions.sh
tests/ts/swapon/devname
tests/ts/swapon/label
tests/ts/swapon/uuid