xref: /third_party/ltp/lib/newlib_tests/shell/timeout04.sh
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/ltp/lib/newlib_tests/shell/
1f08c3bdfSopenharmony_ci#!/bin/sh
2f08c3bdfSopenharmony_ci# SPDX-License-Identifier: GPL-2.0-or-later
3f08c3bdfSopenharmony_ci# Copyright (c) 2021 Joerg Vehlow <joerg.vehlow@aox-tech.de>
4f08c3bdfSopenharmony_ci
5f08c3bdfSopenharmony_ciTST_TESTFUNC=do_test
6f08c3bdfSopenharmony_ci
7f08c3bdfSopenharmony_ciTST_TIMEOUT=1
8f08c3bdfSopenharmony_ci
9f08c3bdfSopenharmony_cido_test()
10f08c3bdfSopenharmony_ci{
11f08c3bdfSopenharmony_ci    tst_res TINFO "Start"
12f08c3bdfSopenharmony_ci    sleep 5
13f08c3bdfSopenharmony_ci    tst_res TFAIL "End"
14f08c3bdfSopenharmony_ci}
15f08c3bdfSopenharmony_ci
16f08c3bdfSopenharmony_cido_cleanup()
17f08c3bdfSopenharmony_ci{
18f08c3bdfSopenharmony_ci    tst_res TINFO "cleanup"
19f08c3bdfSopenharmony_ci}
20f08c3bdfSopenharmony_ci
21f08c3bdfSopenharmony_ci. tst_test.sh
22f08c3bdfSopenharmony_citst_run
23

Indexes created Thu Nov 07 10:32:03 CST 2024