| 12345678910111213141516171819202122232425 | #!/bin/bash
. $TF_DIR/include/subtest.sh
. $TF_DIR/include/tools.sh
ffoom_sorted() {
    ffoom $1 | LC_ALL=C sort
}
tf_enum_subtests() {
    echo "functions"
    echo "modules"
}
tf_name2cmd() {
    local name=$1
    local arg
    case $name in
        functions) arg=lsfun ;;
        modules)   arg=lsmod ;;
    esac
    echo "tf_testflt -n $name -O oracle/$name.stdout ffoom_sorted $arg"
}
tf_do_subtests
 |