chiark
/
gitweb
/
~ian
/
secnet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79e42ff
)
test: Provide bgerror
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Fri, 11 Oct 2019 19:14:49 +0000
(20:14 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 12 Oct 2019 22:29:26 +0000
(23:29 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
test/invoke
patch
|
blob
|
history
diff --git
a/test/invoke
b/test/invoke
index 592053243caa036d7110f62f1b7f7522a538ae47..98a7ea1187380370bd67187505d1762d1135e641 100755
(executable)
--- a/
test/invoke
+++ b/
test/invoke
@@
-121,6
+121,21
@@
proc netlink-readable {which} {
}
}
+proc bgerror {message} {
+ global errorInfo errorCode
+ catch {
+ puts stderr "
+----------------------------------------
+$errorInfo
+
+$errorCode
+$message
+----------------------------------------
+ "
+ }
+ exit 1
+}
+
spawn-secnet inside
spawn-secnet outside