shell dot on steroids https://pagure.io/shellfu

TF_RUN 412B

12345678910111213141516171819202122232425
  1. #!/bin/bash
  2. . $TF_DIR/include/subtest.sh
  3. . $TF_DIR/include/tools.sh
  4. ffoom_sorted() {
  5. ffoom $1 | LC_ALL=C sort
  6. }
  7. tf_enum_subtests() {
  8. echo "functions"
  9. echo "modules"
  10. }
  11. tf_name2cmd() {
  12. local name=$1
  13. local arg
  14. case $name in
  15. functions) arg=lsfun ;;
  16. modules) arg=lsmod ;;
  17. esac
  18. echo "tf_testflt -n $name -O oracle/$name.stdout ffoom_sorted $arg"
  19. }
  20. tf_do_subtests