diff options
author | varac <varacanero@zeromail.org> | 2013-09-03 15:09:39 +0200 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2013-09-03 15:09:39 +0200 |
commit | ac627aacf00c2f888f21c6f108931dea38260f73 (patch) | |
tree | 0f3b0c06653c95a0c05102d9b7e73d39f2b5b93a /tests/test-postmap.sh | |
parent | 4de9cbe5ddcdc688d6723262728dc4d86c898afa (diff) |
reorganized directory layout
Diffstat (limited to 'tests/test-postmap.sh')
-rwxr-xr-x | tests/test-postmap.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/test-postmap.sh b/tests/test-postmap.sh new file mode 100755 index 0000000..460e26b --- /dev/null +++ b/tests/test-postmap.sh @@ -0,0 +1,17 @@ +#!/bin/sh + +test_postmap () { + echo -n "get $1, port 2244:" + postmap -v -q $1 tcp:localhost:2244 2>&1 |grep recv: + echo -n "get $1, port 4242:" + postmap -v -q $1 tcp:localhost:4242 2>&1 |grep recv: + echo +} + +test_postmap dummy +test_postmap dummy@dev.bitmask.net +test_postmap dummy@nowhe.re + +test_postmap fooooo +test_postmap fooooo@dev.bitmask.net +test_postmap fooooo@nowhe.re |