summaryrefslogtreecommitdiffstats
path: root/test/test_prql.sh
blob: bc279087bcc7dbdf38dec6242ef3f0ba56beb8f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#! /bin/bash

export TZ=UTC
export YES_COLOR=1
unset XDG_CONFIG_HOME

run_cap_test ${lnav_test} -n \
    -c ";from access_log | take 1" \
    ${test_dir}/logfile_access_log.0

run_cap_test ${lnav_test} -n \
    -c ";from access_log | take abc" \
    ${test_dir}/logfile_access_log.0

run_cap_test ${lnav_test} -n \
    -c ";from bro_http_log | stats.hist bro_host slice:'1m'" \
    ${test_dir}/logfile_bro_http.log.0