File: test_data_parser.sh

package info (click to toggle)
lnav 0.13.2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 60,084 kB
  • sloc: cpp: 215,599; ansic: 59,220; sh: 4,650; makefile: 3,578; python: 1,197; sql: 315; xml: 264; javascript: 18
file content (16 lines) | stat: -rw-r--r-- 433 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#! /bin/bash

for fn in ${top_srcdir}/test/datafile_simple.*; do
    run_test ./drive_data_scanner $fn
    on_error_fail_with "$fn does not match"
done

for fn in ${top_srcdir}/test/datafile_xml.*; do
    run_test ./drive_data_scanner -P $fn
    on_error_fail_with "$fn does not match"
done

for fn in ${top_srcdir}/test/log-samples/*.txt; do
    run_test ./drive_data_scanner -l $fn
    on_error_fail_with "$fn does not match"
done