mirror of
https://github.com/ntop/n2n.git
synced 2024-09-19 16:41:11 +02:00
Tracebacks contain full paths and cannot be part of the expected test data
This commit is contained in:
parent
35c83a0825
commit
5bcc6fe67a
|
@ -36,7 +36,8 @@ docmd ${TOPDIR}/scripts/n2n-ctl edges --raw
|
||||||
# - uptime
|
# - uptime
|
||||||
|
|
||||||
docmd ${TOPDIR}/scripts/n2n-ctl verbose
|
docmd ${TOPDIR}/scripts/n2n-ctl verbose
|
||||||
docmd ${TOPDIR}/scripts/n2n-ctl --write verbose 1 2>&1
|
docmd ${TOPDIR}/scripts/n2n-ctl --write verbose 1 2>/dev/null
|
||||||
|
echo $?
|
||||||
docmd ${TOPDIR}/scripts/n2n-ctl -k $AUTH --write verbose 1
|
docmd ${TOPDIR}/scripts/n2n-ctl -k $AUTH --write verbose 1
|
||||||
|
|
||||||
# looks strange, but we are querying the state of the "stop" verb
|
# looks strange, but we are querying the state of the "stop" verb
|
||||||
|
|
|
@ -42,21 +42,8 @@
|
||||||
]
|
]
|
||||||
|
|
||||||
###
|
###
|
||||||
Traceback (most recent call last):
|
|
||||||
File "/home/hamish/r/n2n/./scripts/n2n-ctl", line 258, in <module>
|
|
||||||
main()
|
|
||||||
File "/home/hamish/r/n2n/./scripts/n2n-ctl", line 249, in main
|
|
||||||
result = func(rpc, args)
|
|
||||||
File "/home/hamish/r/n2n/./scripts/n2n-ctl", line 205, in subcmd_default
|
|
||||||
rows = rpc.write(cmdline)
|
|
||||||
File "/home/hamish/r/n2n/./scripts/n2n-ctl", line 106, in write
|
|
||||||
return self._call('w', cmdline)
|
|
||||||
File "/home/hamish/r/n2n/./scripts/n2n-ctl", line 100, in _call
|
|
||||||
return self._rx(tagstr)
|
|
||||||
File "/home/hamish/r/n2n/./scripts/n2n-ctl", line 53, in _rx
|
|
||||||
raise ValueError('Error: {}'.format(data['error']))
|
|
||||||
ValueError: Error: badauth
|
|
||||||
|
|
||||||
|
0
|
||||||
###
|
###
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user