]> git.eshelyaron.com Git - emacs.git/commitdiff
Reverse the exist status of Emacs.
authorzappo <zappo@users.sourceforge.net>
Sat, 8 Aug 2009 22:15:31 +0000 (22:15 +0000)
committerEdward John Steere <edward.steere@gmail.com>
Wed, 25 Jan 2017 15:55:35 +0000 (17:55 +0200)
test/manual/cedet/cit-test.sh

index 9bacb3b7e9a76ee9e7f24db54062e3251b9a03cc..89d1568ff7c4f895f4b3f3a3acef1c9932599618 100755 (executable)
@@ -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