nserver

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | LICENSE

commit a70ebb56c004379d09c26dc22612498fde47836d
parent c3cbd1174f15770656583b9e15664270c28512de
Author: rsiddharth <s@ricketyspace.net>
Date:   Mon,  3 Feb 2020 22:57:46 -0500

nserver/tests/protocol_tests.c;: Updat test_sscreate.

* nserver/tests/protocol_tests.c (test_sscreate): Update test.

Diffstat:
nserver/tests/protocol_tests.c | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git 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; }