1. Benoît Allard
  2. caprunner

Commits

Benoît Allard  committed 38428c1

runcap: Set a non null return value when exiting with error

  • Participants
  • Parent commits f5ddd64
  • Branches default

Comments (0)

Files changed (1)

File runcap.py

View file
  • Ignore whitespace
         if expected != received:
             print "<== %s was expected" % a2s(expected)
             print self.vm.log
-            sys.exit()
+            sys.exit(1)
 
     def echo(self, *args, **kwargs):
         print(args, kwargs)