]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
testsL fix py<libname> check
authorKarel Zak <kzak@redhat.com>
Thu, 3 Oct 2013 14:20:38 +0000 (16:20 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 3 Oct 2013 14:20:38 +0000 (16:20 +0200)
Reported-by: Bruce Dubbs <bruce.dubbs@gmail.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
tests/functions.sh

index b9d0ddf54f0ac0c648be657f8a74c29f6f05c429..f210204e22b97b308504fc501c9fdebe9fa11f91 100644 (file)
@@ -245,7 +245,7 @@ function ts_init_suid {
 function ts_init_py {
        LIBNAME="$1"
 
-       [ -f "$TS_TOPDIR/../$LIBNAME.la" ] || ts_skip "py$LIBNAME not compiled"
+       [ -f "$TS_TOPDIR/../py${LIBNAME}.la" ] || ts_skip "py${LIBNAME} not compiled"
 
        export LD_LIBRARY_PATH="$TS_TOPDIR/../.libs"
        export PYTHONPATH="$TS_TOPDIR/../$LIBNAME/python:$TS_TOPDIR/../.libs"