1 | ## oils_failures_allowed: 0
|
2 | ## compare_shells: bash
|
3 |
|
4 | # NB: This is only for NON-interactive tests of bind.
|
5 | # See spec/stateful/bind.py for the remaining tests.
|
6 |
|
7 | #### bind -l should report readline functions
|
8 |
|
9 | # This test depends on the exact version
|
10 |
|
11 | # bind -l | sort > _tmp/this-shell-bind-l.txt
|
12 | # comm -23 $REPO_ROOT/spec/testdata/bind/bind_l_function_list.txt _tmp/this-shell-bind-l.txt
|
13 |
|
14 | # More relaxed test
|
15 | bind -l | grep accept-line
|
16 |
|
17 | ## status: 0
|
18 | ## STDOUT:
|
19 | accept-line
|
20 | ## END
|
21 |
|