1#!/bin/sh 2# SPDX-License-Identifier: GPL-2.0-or-later 3# Copyright (c) 2024-2025 Cyril Hrubis <chrubis@suse.cz> 4# 5# --- 6# doc 7# 8# [Description] 9# 10# This is a simple shell test loader example. 11# --- 12# 13# --- 14# env 15# { 16# "needs_tmpdir": true 17# } 18# --- 19 20. tst_loader.sh 21 22tst_res TPASS "Shell loader works fine!" 23case "$PWD" in 24 /tmp/*) 25 tst_res TPASS "We are running in temp directory in $PWD";; 26 *) 27 tst_res TFAIL "We are not running in temp directory but $PWD";; 28esac 29