tests: Fix auth/superuser-t.c to work on Linux
authorSimon Wilkinson <sxw@your-file-system.com>
Sun, 30 Jan 2011 20:54:30 +0000 (20:54 +0000)
committerDerrick Brashear <shadow@dementia.org>
Mon, 31 Jan 2011 17:45:43 +0000 (09:45 -0800)
commit66bd7cf95ead1c27d81a25f4ca75b49ec173c136
treebe7c15538146d19389d3f21f3090a2fd0d17b604
parent60eff137a99ed7d9d5e70966c6f86425ae93b82b
tests: Fix auth/superuser-t.c to work on Linux

Fix the superuser tests so that they can be run on Linux. This
requires explicitly including sys/wait.h so we can use waitpid,
and changing some initialisation ordering so that we initialise
the RX library before we try and fake an rxkad token.

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