From: zappo Date: Sat, 8 Aug 2009 22:15:31 +0000 (+0000) Subject: Reverse the exist status of Emacs. X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d58e8d8aa47fe57625c6e2e883d3cf8503dea318;p=emacs.git Reverse the exist status of Emacs. --- diff --git a/test/manual/cedet/cit-test.sh b/test/manual/cedet/cit-test.sh index 9bacb3b7e9a..89d1568ff7c 100755 --- a/test/manual/cedet/cit-test.sh +++ b/test/manual/cedet/cit-test.sh @@ -8,4 +8,11 @@ if [ -z $1 ]; then fi rm -r /tmp/CEDET_INTEG* -$EMACS -q -l ../common/cedet.el -l cit-load.el -f toggle-debug-on-error -f toggle-debug-on-quit -f cedet-integ-test-${STYLE} + +if $EMACS -q -l ../common/cedet.el -l cit-load.el -f toggle-debug-on-error -f toggle-debug-on-quit -f cedet-integ-test-${STYLE}; then + # Reverse the meaning of a 0 exit status, as the user had to quit Emacs + # but on success, the program kills emacs with 1 (to be different.) + exit 1; +else + exit 0; +fi \ No newline at end of file