diff options
author | drh <drh@noemail.net> | 2017-10-17 13:44:46 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2017-10-17 13:44:46 +0000 |
commit | f30d345241ac0d260c5a8034b1366c5bee596ee3 (patch) | |
tree | 3fb7c8b9e51b1b0b8f07a9de799a465b1cf1f776 /src | |
parent | 989d7278b0821e6e8550275ad741c08998385a61 (diff) | |
download | sqlite-f30d345241ac0d260c5a8034b1366c5bee596ee3.tar.gz sqlite-f30d345241ac0d260c5a8034b1366c5bee596ee3.zip |
Fix the ".check" command of the command-line shell to return 1 (error)
rather than 2 (exit) on a test failure.
FossilOrigin-Name: e2af0cc6ef5fafc785b8b73f51995901f50822972dcfb632494e22402596186d
Diffstat (limited to 'src')
-rw-r--r-- | src/shell.c.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shell.c.in b/src/shell.c.in index b62c05507..8f5ed59e9 100644 --- a/src/shell.c.in +++ b/src/shell.c.in @@ -4248,7 +4248,7 @@ static int do_meta_command(char *zLine, ShellState *p){ utf8_printf(stderr, "testcase-%s FAILED\n Expected: [%s]\n Got: [%s]\n", p->zTestcase, azArg[1], zRes); - rc = 2; + rc = 1; }else{ utf8_printf(stdout, "testcase-%s ok\n", p->zTestcase); p->nCheck++; |