X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=tests%2F00-variable-not-found.sh;h=7ccb70514ff28f939802433d4c358cf8bb6d9af2;hb=ff4a8c81429495ae914d0dbeef9dbb50b2b1a00c;hp=c0cb89943886adf2bd1dbbd9d0f326c14345fc60;hpb=bf91d4bb90c84d360609ffb30a68cf8adb5b1448;p=goals.git diff --git a/tests/00-variable-not-found.sh b/tests/00-variable-not-found.sh index c0cb899..7ccb705 100755 --- a/tests/00-variable-not-found.sh +++ b/tests/00-variable-not-found.sh @@ -18,9 +18,8 @@ # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # This is expected to return an error, and as long as it does this -# script is successful. Don't print the error message because that -# will confuse everyone. -if goals -f 00-variable-not-found.gl 2>/dev/null; then +# script is successful. +if goals -f 00-variable-not-found.gl; then exit 1 else exit 0