lean2/src/cmake/check_failure.sh
Leonardo de Moura 0eaa98221b fix(shell/lean): Lua repl missing, incorrect exit code in interactive mode, missing tests
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-12-09 12:25:19 -08:00

7 lines
147 B
Bash
Executable file

#!/bin/bash
# Auxiliary script that succeeds iff if the execution of input
# arguments fail.
if $*; then
echo "unexpected success"
exit 1
fi