3 # Copyright © 2022-2023 Nick Bowler
5 # Fake autotest program for testing the autotest macros and snippets.
7 # License WTFPL2: Do What The Fuck You Want To Public License, version 2.
8 # This is free software: you are free to do what the fuck you want to.
9 # There is NO WARRANTY, to the extent permitted by law.
16 arg=${lastarg:+"$lastarg="}$arg
19 save_IFS=$IFS; IFS='='
20 set x $arg; shift; shift; optarg=$*
24 -o|--output) lastarg=--output ;;
25 --output=*) outfile=$optarg ;;
29 test x"$outfile" = x || exec 1>"$outfile"
30 echo "echo 'testsuite (mypackage)'"