diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 20:01:36 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 20:01:36 +0000 |
commit | 62e4c68907d8d33709c2c1f92a161dff00b3d5f2 (patch) | |
tree | adbbaf3acf88ea08f6eeec4b75ee98ad3b07fbdc /test/test_data_parser.sh | |
parent | Initial commit. (diff) | |
download | lnav-62e4c68907d8d33709c2c1f92a161dff00b3d5f2.tar.xz lnav-62e4c68907d8d33709c2c1f92a161dff00b3d5f2.zip |
Adding upstream version 0.11.2.upstream/0.11.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | test/test_data_parser.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/test_data_parser.sh b/test/test_data_parser.sh new file mode 100644 index 0000000..26f8163 --- /dev/null +++ b/test/test_data_parser.sh @@ -0,0 +1,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 |