1
0
mirror of https://github.com/cldellow/sqlite-parquet-vtable.git synced 2025-09-12 22:29:58 +00:00

test case for nulls

This commit is contained in:
Colin Dellow
2018-03-04 22:48:39 -05:00
parent 67005623df
commit 56245c1d3d
3 changed files with 5 additions and 2 deletions

View File

@@ -25,7 +25,7 @@ main() {
unsupported_files=$(find . -type f -name 'unsupported*.parquet')
while read -r unsupported; do
echo "Testing: $unsupported"
"$root"/sqlite/sqlite3 -init <(load_unsupported "$unsupported") < /dev/null > /dev/null 2> testcase-err.txt
"$root"/sqlite/sqlite3 -init <(load_unsupported "$unsupported") < /dev/null > /dev/null 2> testcase-stderr.txt
# We expect the 'SELECT 123' command to NOT have been run
if grep -q 123 testcase-out.txt; then
echo "...FAILED; expected an error message. Check testcase-{out,err}.txt" >&2