Make all bash verify scripts fail on error
Bash scripts by default continue on executing even if any
command errors. That's not the behavior we want for our scripts,
so let's explicitly get them to fail if:
1. Any command exits with non 0 exit code
2. An undefined variable is referenced
MODIFY
tests/dockerfile/binder-dir/verify
tests/dockerfile/binder-dir/verify
#!/bin/sh
-set -e
+set -euo pipefail
/usr/local/bin/sayhi.sh

MODIFY
tests/dockerfile/simple/verify
tests/dockerfile/simple/verify
#!/bin/sh
-set -e
+set -euo pipefail
/usr/local/bin/sayhi.sh

MODIFY
tests/venv/apt-packages/verify
tests/venv/apt-packages/verify
#!/bin/bash
+set -euo pipefail
which gfortran

MODIFY
tests/venv/binder-dir/verify
tests/venv/binder-dir/verify
#!/bin/bash
+set -euo pipefail
which gfortran
test -z $(pip list | grep scipy)
jupyter nbextension list

MODIFY
tests/venv/postBuild/verify
tests/venv/postBuild/verify
#!/bin/bash
-set -e
+set -euo pipefail
jupyter nbextension list | grep 'jupyter-leaflet' | grep enabled

Make all bash verify scripts fail on error

Bash scripts by default continue on executing even if any
command errors. That's not the behavior we want for our scripts,
so let's explicitly get them to fail if:

1. Any command exits with non 0 exit code
2. An undefined variable is referenced