blob: 87e2718f22a65163d64522aa5f44488ecc4160f6 [file] [log] [blame]
roman300b8782022-08-11 12:49:21 +02001#!/usr/bin/expect -f
2
3set timeout 1
4
5spawn $env(YANGLINT)
6expect -exact "> "
7send -- "feature -a\r"
8expect {
9 "feature -a\r
10yang:\r
11\t(none)\r
12ietf-yang-schema-mount:\r
13\t(none)\r
14> " { }
15 timeout { exit 1 }
16}
17send -- "exit\r"
18expect eof