summaryrefslogtreecommitdiffstats
path: root/tests/commands.sh.in
diff options
context:
space:
mode:
authorKarel Zak2007-01-30 13:18:51 +0100
committerKarel Zak2007-01-30 13:52:48 +0100
commite9ce5ccc90c63cb1c499ad01800e638ece23f8b0 (patch)
tree251163add0f5966824a79409005502cb1c70e328 /tests/commands.sh.in
parentbuild-sys: fix ifdef ENABLE_WIDECHAR usage (diff)
downloadkernel-qcow2-util-linux-e9ce5ccc90c63cb1c499ad01800e638ece23f8b0.tar.gz
kernel-qcow2-util-linux-e9ce5ccc90c63cb1c499ad01800e638ece23f8b0.tar.xz
kernel-qcow2-util-linux-e9ce5ccc90c63cb1c499ad01800e638ece23f8b0.zip
col: getwchar() errors shouldn't be hidden
The col truncates output when multibyte errors is detected, but the problem is not reported to stderr and return code is still same like for successful exit. This stupid behaviour is fixed by this patch. Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'tests/commands.sh.in')
-rw-r--r--tests/commands.sh.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/commands.sh.in b/tests/commands.sh.in
index 4345a28f5..92deda21d 100644
--- a/tests/commands.sh.in
+++ b/tests/commands.sh.in
@@ -11,3 +11,5 @@ TS_CMD_SWAPON=${TS_CMD_MOUNT:-"$TOPDIR/mount/swapon"}
TS_CMD_SWAPOFF=${TS_CMD_MOUNT:-"$TOPDIR/mount/swapoff"}
TS_CMD_IPCS=${TS_CMD_IPCS:-"$TOPDIR/sys-utils/ipcs"}
+
+TS_CMD_COL=${TS_CMD_COL:-"$TOPDIR/text-utils/col"}