#!/bin/sh
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (c) 2024-2025 Cyril Hrubis <chrubis@suse.cz>
#
# ---
# doc
# This is a simple shell test loader example.
# ---
#
# ---
# env
# {
#  "needs_tmpdir": true
# }
# ---

. tst_loader.sh

tst_test()
{
	tst_res TPASS "Shell loader works fine!"
	case "$PWD" in
		/tmp/*)
			tst_res TPASS "We are running in temp directory in $PWD";;
		*)
			tst_res TFAIL "We are not running in temp directory but $PWD";;
	esac
}

. tst_run.sh