# list of integration tests # format: run_test # used as the root for all filenames (i.e., "expected/$TAG.txt") # command-line arguments to test run_test D_quit "-b scripts/quit.txt" run_test D_echo "-b scripts/echo_min.txt" run_test C_cd_pwd "-b scripts/dirs.txt" run_test C_echo "-b scripts/echo.txt" run_test C_echo_space "-b scripts/echo_space.txt" run_test C_binaries "-b scripts/bins.txt" # Your ls implementation must list in alphabetical order run_test C_binaries_flags "-b scripts/bins_flags.txt" # Your ls must print directories (. and ..) first, then # the rest in alphabetical order (ignoring leading . and case) run_test C_chmod "-b scripts/bins_chmod.txt" # Your ls must work correctly before chmod will work run_test C_binaries_bad "-b scripts/bins_bad.txt" run_test C_which "-b scripts/which.txt" run_test C_cut "-b scripts/cut.txt" run_test C_cut_bad "-b scripts/cut_bad.txt" run_test B_return_code "-b scripts/rc.txt" # Your ls implementation must list in alphabetical order run_test B_export_unset "-b scripts/export.txt" # Previous test exports and uses echo, no binaries run_test B_repeat "-b scripts/repeat.txt" # Previous test exports and uses repeat binary run_test B_setenv "-b scripts/setenv.txt" # Previous test uses ./bin/env to set env vars run_test B_env "-b scripts/env.txt" # Previous combines export and ./bin/env with ./bin/repeat run_test A_cat_tail "-b scripts/tail.txt" run_test A_pipe "-b scripts/pipe.txt" run_test A_env "-b scripts/env_pipe.txt"