unplugged-system/external/ltp/testcases/commands/shell/shell_pipe01.sh

17 lines
272 B
Bash
Executable File

#!/bin/sh
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (c) 2021 Petr Vorel <pvorel@suse.cz>
TST_TESTFUNC=do_test
do_test()
{
tst_res TINFO "expecting SUCCESS string passed from stdin"
read line
EXPECT_PASS [ "$line" = "SUCCESS" ]
}
. tst_test.sh
tst_run