]> git.ipfire.org Git - thirdparty/util-linux.git/blame - tests/ts/column/multi-file
tests: split stdout and stderr
[thirdparty/util-linux.git] / tests / ts / column / multi-file
CommitLineData
57e19503
KZ
1#!/bin/bash
2
3#
4# Copyright (C) 2011 Sami Kerola <kerolasa@iki.fi>
2f791546 5# 2011 Karel Zak <kzak@redhat.com>
57e19503
KZ
6#
7# This file is part of util-linux.
8#
9# This file is free software; you can redistribute it and/or modify
10# it under the terms of the GNU General Public License as published by
11# the Free Software Foundation; either version 2 of the License, or
12# (at your option) any later version.
13#
14# This file is distributed in the hope that it will be useful,
15# but WITHOUT ANY WARRANTY; without even the implied warranty of
16# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17# GNU General Public License for more details.
18#
e130ce53 19TS_TOPDIR="${0%/*}/../.."
57e19503
KZ
20TS_DESC="multiple files"
21
22. $TS_TOPDIR/functions.sh
23ts_init "$*"
24
2f791546
SK
25ts_check_test_command "$TS_CMD_COLUMN"
26
7f1f10ab 27ts_cd "$TS_OUTDIR"
57e19503 28
4219aa37
KZ
29$TS_CMD_COLUMN -x -c 50 $TS_SELF/files/fivecols \
30 $TS_SELF/files/fivecols \
cbf858aa 31 $TS_SELF/files/fivecols >> $TS_OUTPUT 2>> $TS_ERRLOG
57e19503
KZ
32
33ts_finalize
34