blob: 2e61f9a4d366e7180833118bba660696e000205c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#! /bin/bash
run_cap_test ./drive_sql "select '192.168.1.10' < '192.168.1.2'"
run_cap_test ./drive_sql "select '192.168.1.10' < '192.168.1.2' collate ipaddress"
run_cap_test ./drive_sql "select '192.168.1.10' < '192.168.1.12' collate ipaddress"
run_cap_test ./drive_sql "select '::ffff:192.168.1.10' = '192.168.1.10' collate ipaddress"
run_cap_test ./drive_sql "select 'fe80::a85f:80b4:5cbe:8691' = 'fe80:0000:0000:0000:a85f:80b4:5cbe:8691' collate ipaddress"
run_cap_test ./drive_sql "select '' < '192.168.1.2' collate ipaddress"
run_cap_test ./drive_sql "select '192.168.1.2' > '' collate ipaddress"
run_cap_test ./drive_sql "select '192.168.1.2' < 'fe80::a85f:80b4:5cbe:8691' collate ipaddress"
run_cap_test ./drive_sql "select 'h9.example.com' < 'h10.example.com' collate ipaddress"
run_cap_test ./drive_sql "select 'file10.txt' < 'file2.txt'"
run_cap_test ./drive_sql "select 'file10.txt' < 'file2.txt' collate naturalcase"
run_cap_test ./drive_sql "select 'w' < 'e' collate loglevel"
run_cap_test ./drive_sql "select 'e' < 'w' collate loglevel"
run_cap_test ./drive_sql "select 'info' collate loglevel between 'trace' and 'fatal'"
|