]>
git.ipfire.org Git - thirdparty/util-linux.git/blob - tests/ts/colcrt/regressions
15117609a447ed88f1dc7799e0d2f0ef0b93ce84
4 # This file is part of util-linux.
6 # This file is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 2 of the License, or
9 # (at your option) any later version.
11 # This file is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 # GNU General Public License for more details.
16 TS_TOPDIR
="${0%/*}/../.."
19 .
$TS_TOPDIR/functions.sh
22 ts_check_test_command
"$TS_CMD_COLCRT"
23 ts_check_prog
"timeout"
26 ts_init_subtest
${1##*/}
27 LC_ALL
=C.UTF-8 timeout
2 $TS_CMD_COLCRT < $1 >> $TS_OUTPUT 2>> $TS_ERRLOG
28 echo "return value: $?" >> $TS_OUTPUT
32 check_input_file
"$TS_SELF/crash1"
33 check_input_file
"$TS_SELF/crash2"
34 check_input_file
"$TS_SELF/hang1"