File: all-keybindings-test

package info (click to toggle)
tig 2.4.1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 5,388 kB
  • sloc: ansic: 32,985; sh: 10,118; makefile: 389
file content (26 lines) | stat: -rwxr-xr-x 489 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/sh

. libtest.sh

export COLUMNS=90
export LINES=120

steps '
	:view-help
	:save-display help-default.screen
'

stdin <<EOF
test
EOF

expected="$source_dir/all-keybindings-test.expected"

test_tig

assert_equals \
	'help-default.screen' \
	'ignore' \
	"Test failures due to changes to 'tigrc' can be fixed by running:" \
	"  > make test/help/all-keybindings-test && cp test/tmp/help/all-keybindings-test/help-default.screen test/help/all-keybindings-test.expected" \
	< "$expected"