summaryrefslogtreecommitdiffstats
path: root/nserver/tests/protocol_tests.c
diff options
context:
space:
mode:
Diffstat (limited to 'nserver/tests/protocol_tests.c')
-rw-r--r--nserver/tests/protocol_tests.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/nserver/tests/protocol_tests.c b/nserver/tests/protocol_tests.c
index cb04581..afb3906 100644
--- a/nserver/tests/protocol_tests.c
+++ b/nserver/tests/protocol_tests.c
@@ -5,12 +5,15 @@ char *test_sscreate()
{
int rc = 0;
- rc = sscreate("crimson");
+ rc = sscreate("/crimson");
mu_assert(rc == 0, "sscreate failed 0");
rc = sscreate("/vermilion");
mu_assert(rc == 0, "sscreate failed 1");
+ rc = sscreate("/crimson");
+ mu_assert(rc == 1, "sscreate failed 2");
+
return NULL;
}