]> ruderich.org/simon Gitweb - nsscash/nsscash.git/blobdiff - nss/tests/pw.c
nss: tests: sort included headers
[nsscash/nsscash.git] / nss / tests / pw.c
index 4a32bfda1e905fd42a61ca851dd34f28de05c09a..86e6ae4c93287c06ba771ce156155382b2220124 100644 (file)
  */
 
 #include <assert.h>
+#include <errno.h>
+#include <limits.h>
 #include <stdio.h>
 #include <stdlib.h>
-#include <errno.h>
 #include <string.h>
-#include <limits.h>
 
 #include "../cash_nss.h"
 
@@ -245,7 +245,7 @@ static void test_getpwnam(void) {
     assert(s == NSS_STATUS_TRYAGAIN);
     assert(errnop == ERANGE);
     s = _nss_cash_getpwnam_r("nope", &p, tmp_small, sizeof(tmp_small), &errnop);
-    assert(s == NSS_STATUS_NOTFOUND); // 42 does not exist
+    assert(s == NSS_STATUS_NOTFOUND); // does not exist
     assert(errnop == ENOENT);
     s = _nss_cash_getpwnam_r("nobody", &p, tmp_small, sizeof(tmp_small), &errnop);
     assert(s == NSS_STATUS_TRYAGAIN);