diff options
Diffstat (limited to 'cpp/test/FreezeScript/evictor/run.py')
-rwxr-xr-x | cpp/test/FreezeScript/evictor/run.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/cpp/test/FreezeScript/evictor/run.py b/cpp/test/FreezeScript/evictor/run.py index e86fbf7e251..9a9545687bf 100755 --- a/cpp/test/FreezeScript/evictor/run.py +++ b/cpp/test/FreezeScript/evictor/run.py @@ -45,7 +45,8 @@ print "creating test database... ", sys.stdout.flush() makedb = os.path.join(directory, "makedb") + " " + directory -os.system(makedb) +if os.system(makedb) != 0: + sys.exit(1) print "ok" @@ -67,7 +68,8 @@ print "validating database... ", sys.stdout.flush() command = transformdb + " -e --old " + testnew + " --new " + testnew + " -f " + checkxml + " " + check_dbdir + " evictor.db " + tmp_dbdir -os.system(command) +if os.system(command) != 0: + sys.exit(1) print "ok" |