TS_HELPER_PROCFS="${ts_helpersdir}test_procfs"
TS_HELPER_TIMEUTILS="${ts_helpersdir}test_timeutils"
TS_HELPER_KILL_PIDFDINO="${ts_helpersdir}test_kill_pidfdino"
+TS_HELPER_SCOLS_TERMREDUCE="${ts_helpersdir}test_scols_termreduce"
# paths to commands
TS_CMD_ADDPART=${TS_CMD_ADDPART:-"${ts_commandsdir}addpart"}
--- /dev/null
+#!/bin/bash
+#
+# This file is part of util-linux.
+#
+# This file is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This file is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+#
+
+TS_TOPDIR="${0%/*}/../.."
+TS_DESC="termreduce-loop"
+
+. "$TS_TOPDIR"/functions.sh
+ts_init "$*"
+
+TESTPROG="$TS_HELPER_SCOLS_TERMREDUCE"
+ts_check_test_command "$TESTPROG"
+
+# Single-shot test: output must match expected file exactly.
+ts_run $TESTPROG >> $TS_OUTPUT 2>> $TS_ERRLOG
+
+ts_finalize
+