#!/bin/bash . "$TF_DIR/include/subtest.sh" . "$TF_DIR/include/tools.sh" PRETTY=plain . "$(shellfu-get path)" || tf_exit_error "failed to init shellfu" shellfu import saturnin || tf_exit_error "failed to import saturnin" tf_enum_subtests() { echo usage } tf_do_subtest() { local name=$1 local cmd local o_err="oracle/$name.stderr" SATURNIN_CACHE_HOME=chm SATURNIN_LIBEXEC=lex SATURNIN_LIBEXEC_PREFIX=lexpfx- mkdir lex touch lex/lexpfx-{foo,bar,baz} chmod +x lex/lexpfx-{foo,bar,baz} case $name in usage) tf_testflt -n "$name" -E "$o_err" -S 2 saturnin__main ;; esac } tf_do_subtests