Move expected output of help screen with all keybindings to separate file
[tig.git] / test / help / all-keybindings-test
blob99308ab579175adf7857cc9cc6c4c06c7a8d8535
1 #!/bin/sh
3 . libtest.sh
5 export COLUMNS=90
6 export LINES=110
8 steps '
9 :view-help
10 :save-display help-default.screen
13 stdin <<EOF
14 test
15 EOF
17 expected="$source_dir/all-keybindings-test.expected"
19 test_tig
21 assert_equals \
22 'help-default.screen' \
23 "Test failures due to changes to 'tigrc' can be fixed by running:" \
24 " > make test/help/all-keybindings-test && cp test/tmp/help/all-keybindings-test/help-default.screen test/help/all-keybindings-test.expected" \
25 < "$expected"