mirror of https://github.com/tstack/lnav
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
548 B
Bash
15 lines
548 B
Bash
#! /bin/bash
|
|
|
|
export YES_COLOR=1
|
|
|
|
# XXX sqlite reports different results for the "detail" column, so we
|
|
# have to rewrite it.
|
|
run_cap_test ${lnav_test} -n \
|
|
-c ";EXPLAIN QUERY PLAN SELECT * FROM access_log WHERE log_path GLOB '*/logfile_access_log.*'" \
|
|
-c ";SELECT \$id, \$parent, \$notused, replace(\$detail, 'SCAN TABLE', 'SCAN')" \
|
|
${test_dir}/logfile_access_log.*
|
|
|
|
run_cap_test ${lnav_test} -n \
|
|
-c ";SELECT *,log_unique_path FROM access_log WHERE log_path GLOB '*/logfile_access_log.*'" \
|
|
${test_dir}/logfile_access_log.*
|