small pixel drawing of a pufferfish zoa

test/main

# test function inheretence
println() {
  printf "%s\n" "$1"
}

# hewo
ls
PASSTHROUGH=bananas

# fix perms
uname -a

# tests waiting for output
sleep 2; echo hi

# check all env vars
env

# test invalid code and print it
# ls /asfj

# test another script inclusion
# todo

zoa-script 2-call-me-from-anotha
# . ./test/2-call-me-from-anotha
ls -lat

echo i am main

if [ "$(uname -n)" = "nostromo" ]; then
  echo NOSTROMO
fi
echo $NODENAME

zoa-script 3-more

cat >/tmp/trashcan <<EOF
hello i am a trash can man :3
EOF

echo $PASSTHROUGH
zoa-file demo /tmp/zoa-file-test echo $PASSTHROUGH
ls /tmp/zoa-file-test

# ensure that zoa-script works in an if statement
if printf "%s\n" "testing if statement followed by custom helper"; then
    zoa-script another-thing
fi