diff options
author | Ruediger Meier | 2016-03-10 11:29:09 +0100 |
---|---|---|
committer | Ruediger Meier | 2016-03-13 21:47:35 +0100 |
commit | 616b534f4ffed190577e14f9c5231481fa1fdf69 (patch) | |
tree | 2c0f083c5b5b34b4ff778acfab705c26b40558c5 /tests/ts/libmount | |
parent | tests: skip old socat silently (diff) | |
download | kernel-qcow2-util-linux-616b534f4ffed190577e14f9c5231481fa1fdf69.tar.gz kernel-qcow2-util-linux-616b534f4ffed190577e14f9c5231481fa1fdf69.tar.xz kernel-qcow2-util-linux-616b534f4ffed190577e14f9c5231481fa1fdf69.zip |
tests: remove invalid argument in libmount/debug
This was usually no problem because of unsafe strtoul(3) usage in
test prog libmount/src/init.c. But musl's strtoul sets errno if
no digit was found in the argument.
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Diffstat (limited to 'tests/ts/libmount')
-rwxr-xr-x | tests/ts/libmount/debug | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ts/libmount/debug b/tests/ts/libmount/debug index da9ecc3e1..d722b4e21 100755 --- a/tests/ts/libmount/debug +++ b/tests/ts/libmount/debug @@ -19,12 +19,12 @@ ts_finalize_subtest # CACHE | LOCKS ts_init_subtest "set-from-env-str" -LIBMOUNT_DEBUG=cache,locks ts_valgrind $TESTPROG 2>&1 $TS_OUTPUT | grep -o '0x.*' &> $TS_OUTPUT +LIBMOUNT_DEBUG=cache,locks ts_valgrind $TESTPROG 2>&1 | grep -o '0x.*' &> $TS_OUTPUT ts_finalize_subtest # CACHE | LOCKS ts_init_subtest "set-from-env-int" -LIBMOUNT_DEBUG=20 ts_valgrind $TESTPROG 2>&1 $TS_OUTPUT | grep -o '0x.*' &> $TS_OUTPUT +LIBMOUNT_DEBUG=20 ts_valgrind $TESTPROG 2>&1 | grep -o '0x.*' &> $TS_OUTPUT ts_finalize_subtest ts_finalize |