OLD | NEW |
1 # 2011 June 21 | 1 # 2011 June 21 |
2 # | 2 # |
3 # May you do good and not evil. | 3 # May you do good and not evil. |
4 # May you find forgiveness for yourself and forgive others. | 4 # May you find forgiveness for yourself and forgive others. |
5 # May you share freely, never taking more than you give. | 5 # May you share freely, never taking more than you give. |
6 # | 6 # |
7 #*********************************************************************** | 7 #*********************************************************************** |
8 # | 8 # |
9 # This file contains tests for SQLite. Specifically, it tests that SQLite | 9 # This file contains tests for SQLite. Specifically, it tests that SQLite |
10 # does not crash and an error is returned if localhost() fails. This | 10 # does not crash and an error is returned if localhost() fails. This |
(...skipping 18 matching lines...) Expand all Loading... |
29 do_test 2.1 { | 29 do_test 2.1 { |
30 catchsql { SELECT datetime('now', 'localtime') } | 30 catchsql { SELECT datetime('now', 'localtime') } |
31 } {1 {local time unavailable}} | 31 } {1 {local time unavailable}} |
32 do_test 2.2 { | 32 do_test 2.2 { |
33 catchsql { SELECT datetime('now', 'utc') } | 33 catchsql { SELECT datetime('now', 'utc') } |
34 } {1 {local time unavailable}} | 34 } {1 {local time unavailable}} |
35 | 35 |
36 sqlite3_test_control SQLITE_TESTCTRL_LOCALTIME_FAULT 0 | 36 sqlite3_test_control SQLITE_TESTCTRL_LOCALTIME_FAULT 0 |
37 | 37 |
38 finish_test | 38 finish_test |
OLD | NEW |