1#!/bin/sh 2# SPDX-License-Identifier: GPL-2.0-or-later 3# Copyright (c) 2021 Petr Vorel <[email protected]> 4 5TST_TESTFUNC=do_test 6 7do_test() 8{ 9 tst_res TINFO "expecting SUCCESS string passed from stdin" 10 11 read line 12 EXPECT_PASS [ "$line" = "SUCCESS" ] 13} 14 15. tst_test.sh 16tst_run 17