Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-dms3
Commits
e9edd2d8
Commit
e9edd2d8
authored
Apr 07, 2016
by
Jeromy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use nc -w instead of -q because osx is slow
License: MIT Signed-off-by:
Jeromy
<
jeromyj@gmail.com
>
parent
42455d27
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
test/sharness/t0060-daemon.sh
test/sharness/t0060-daemon.sh
+1
-1
test/sharness/t0061-daemon-opts.sh
test/sharness/t0061-daemon-opts.sh
+1
-1
No files found.
test/sharness/t0060-daemon.sh
View file @
e9edd2d8
...
...
@@ -81,7 +81,7 @@ test_expect_success "nc is available" '
# check transport is encrypted
test_expect_success
"transport should be encrypted"
'
nc -
q
1 localhost $SWARM_PORT > swarmnc < ../t0060-data/mss-ls &&
nc -
w
1 localhost $SWARM_PORT > swarmnc < ../t0060-data/mss-ls &&
grep -q "/secio" swarmnc &&
test_must_fail grep -q "/plaintext/1.0.0" swarmnc ||
test_fsh cat swarmnc
...
...
test/sharness/t0061-daemon-opts.sh
View file @
e9edd2d8
...
...
@@ -27,7 +27,7 @@ test_expect_success 'api gateway should be unrestricted' '
# Odd. this fails here, but the inverse works on t0060-daemon.
test_expect_success
'transport should be unencrypted'
'
nc -
q
1 localhost $SWARM_PORT > swarmnc < ../t0060-data/mss-ls &&
nc -
w
1 localhost $SWARM_PORT > swarmnc < ../t0060-data/mss-ls &&
test_must_fail grep -q "/secio" swarmnc &&
grep -q "/plaintext" swarmnc ||
test_fsh cat swarmnc
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment