Gitiles
Code Review
Sign In
gerrit.cesnet.cz
/
github
/
CESNET
/
libyang
/
fe95815615cedf5adf2bc41b211a48ad6a6371c8
/
.
/
tools
/
lint
/
tests
/
expect
/
feature.exp
blob: 87e2718f22a65163d64522aa5f44488ecc4160f6 [
file
] [
log
] [
blame
]
#!/usr/bin/expect -f
set
timeout
1
spawn $env
(
YANGLINT
)
expect
-
exact
"> "
send
--
"feature -a\r"
expect
{
"feature -a\r
yang:\r
\t(none)\r
ietf-yang-schema-mount:\r
\t(none)\r
> "
{
}
timeout
{
exit
1
}
}
send
--
"exit\r"
expect eof