]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
tests: Fix the authcon test to avoid pthread errors
authorSimon Wilkinson <sxw@your-file-system.com>
Sun, 13 Mar 2011 15:45:37 +0000 (15:45 +0000)
committerDerrick Brashear <shadow@dementia.org>
Sun, 13 Mar 2011 20:39:38 +0000 (13:39 -0700)
Fix the authcon test so that it avoids pthread errors by
initialising rx before calling into any of the rxkad routines.

Change-Id: I175203fd91660e27a8b468e6f1c6189f32b22259
Reviewed-on: http://gerrit.openafs.org/4212
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
tests/auth/authcon-t.c

index 4508d8d0336be589eeae9cd0427c8a5bc28da3db..b5f688ccdcec1ed9555555f6e979b0a52755ee5e 100644 (file)
@@ -56,6 +56,8 @@ main(int argc, char **argv)
         exit(1);
     }
 
+    rx_Init(0);
+
     /* Server Security objects */
 
     afsconf_BuildServerSecurityObjects(dir, &classes, &numClasses);