tests: Use enum rather than #defines for tests
authorSimon Wilkinson <sxw@your-file-system.com>
Sat, 8 Oct 2011 22:33:37 +0000 (23:33 +0100)
committerDerrick Brashear <shadow@dementix.org>
Tue, 8 May 2012 03:24:50 +0000 (20:24 -0700)
commita9595ab04712b523db8b0ca934613aa1a60cda99
tree471661f764104fb83c4d1aff3cfee5c017f4460f
parenta81f9237bfa7b2e3a0567a930f3c49234b9a4376
tests: Use enum rather than #defines for tests

Change the command test so that it uses an enum, rather than #defines
for offsets into the parms array. This is mainly a cosmetic change, but
brings the test suite into line with the way that we're doing stuff in
the "real" code.

Change-Id: Ia9d72e13230edd4fe13af52ba6816cf775693c36
Reviewed-on: http://gerrit.openafs.org/7133
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Tom Keiser <tkeiser@sinenomine.net>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
tests/cmd/command-t.c