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