File: test_scripts.sh

package info (click to toggle)
lnav 0.8.1-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 4,536 kB
  • ctags: 4,798
  • sloc: cpp: 37,738; sh: 6,871; ansic: 5,090; makefile: 670; python: 196; sql: 67
file content (18 lines) | stat: -rw-r--r-- 333 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#! /bin/bash

lnav_test="${top_builddir}/src/lnav-test"

touch scripts-empty

run_test ${lnav_test} -n -d /tmp/lnav.err \
    -I ${test_dir} \
    -f 'multiline-echo' \
    scripts-empty

check_error_output "multiline-echo has errors?" <<EOF
EOF

check_output "multiline-echo is not working?" <<EOF
Hello, World!
Goodbye, World!
EOF