diff options
Diffstat (limited to 'tests/wait-for-initialization.sed')
-rwxr-xr-x | tests/wait-for-initialization.sed | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/wait-for-initialization.sed b/tests/wait-for-initialization.sed new file mode 100755 index 0000000..9f0d808 --- /dev/null +++ b/tests/wait-for-initialization.sed @@ -0,0 +1,13 @@ +#!/bin/sed -rf + +s/^[^:]+: Initializing$// +T err +n +s/^[^:]+: Attempting to bind: [^ ,]+, port [0-9]+$// +T err +n +s/^[^:]+: Listening on [^ ,]+, port ([0-9]+)$/\1/ +T err +q 0 +: err +Q 1 |