blob: 30c7cf9d805539d6cc29b16eacf72f7ea0001146 [file]
#!/usr/bin/env 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="trees below group children"
. "$TS_TOPDIR"/functions.sh
ts_init "$*"
TESTPROG="$TS_HELPER_LIBSMARTCOLS_GROUPING_TREE"
ts_check_test_command "$TESTPROG"
ts_init_subtest "plain"
ts_run "$TESTPROG" >> "$TS_OUTPUT" 2>> "$TS_ERRLOG"
ts_finalize_subtest
ts_init_subtest "wrap"
ts_run "$TESTPROG" --wrap >> "$TS_OUTPUT" 2>> "$TS_ERRLOG"
ts_finalize_subtest
ts_finalize