test/main
#!/bin/sh # test function inheretence println() { printf "%s\n" "$1" } # hewo uname -a PASSTHROUGH=bananas # test waiting for output, printing a set var sleep 2; printf '%s\n' "$PASSTHROUGH" # test if statements if [ "$(uname -n)" = "nostromo" ]; then printf "%s\n" NOSTROMO fi printf "%s\n" "$NODENAME" > /tmp/hi # ensure that suggestions work in an if statement if true; then echo hi fi # test zoa cp zoa cp /tmp/hi /tmp/hi2 0644 # should pass ls /asdfnoexist || true