File: test

package info (click to toggle)
nnn 5.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,184 kB
  • sloc: ansic: 11,902; sh: 3,585; makefile: 512; cpp: 80; python: 31; csh: 2
file content (14 lines) | stat: -rw-r--r-- 298 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

set -e

# Get output via --help argrument
nnn -h > $AUTOPKGTEST_TMP/output 2>&1

# Check above output work well
if ! grep -q "https://github.com/jarun/nnn" $AUTOPKGTEST_TMP/output
then
    echo "ERROR: nnn -h is malfunction (no URL output)"
    cat $AUTOPKGTEST_TMP/output
    exit 1
fi