hcl/t/run.sh
hyung-hwan 081c6d1874
Some checks failed
continuous-integration/drone/push Build is failing
added a double lambda test case
2024-03-09 14:16:51 +09:00

7 lines
219 B
Bash

#!/bin/sh
## use a subshell to execute the actual program in case the
## program crashes or exits without an error message.
echo RUN "[$@]"
($@ 2>&1 || echo "ERROR: exited with $?") | grep -E '^ERROR:' && exit 1
exit 0