You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/usr/bin/env bash |
|
|
|
# Unofficial Bash Strict Mode |
|
set -euo pipefail |
|
IFS=' |
|
' |
|
|
|
echo insecure >> ~/.curlrc |
|
caddy start &>/dev/null |
|
|
|
submitted=$(bash student/head-and-tail.sh) |
|
expected=$(bash solutions/head-and-tail.sh) |
|
|
|
caddy stop &>/dev/null |
|
|
|
diff <(echo "$submitted") <(echo "$expected")
|
|
|