roman | 300b878 | 2022-08-11 12:49:21 +0200 | [diff] [blame] | 1 | #!/usr/bin/expect -f |
2 | |||||
3 | set timeout 1 | ||||
4 | |||||
5 | spawn $env(YANGLINT) | ||||
6 | expect -exact "> " | ||||
7 | send -- "feature -a\r" | ||||
8 | expect { | ||||
9 | "feature -a\r | ||||
10 | yang:\r | ||||
11 | \t(none)\r | ||||
Michal Vasko | b68970d | 2022-09-14 13:14:59 +0200 | [diff] [blame^] | 12 | \r |
roman | 300b878 | 2022-08-11 12:49:21 +0200 | [diff] [blame] | 13 | ietf-yang-schema-mount:\r |
14 | \t(none)\r | ||||
Michal Vasko | b68970d | 2022-09-14 13:14:59 +0200 | [diff] [blame^] | 15 | \r |
roman | 300b878 | 2022-08-11 12:49:21 +0200 | [diff] [blame] | 16 | > " { } |
17 | timeout { exit 1 } | ||||
18 | } | ||||
19 | send -- "exit\r" | ||||
20 | expect eof |