Fix the configuration file path for the cmd test so that it works
when invoked from runtests
Change-Id: Id7d717e163abf5cfab2d551aaf08fb9967a87153
Reviewed-on: http://gerrit.openafs.org/7576
Reviewed-by: Derrick Brashear <shadow@dementix.org>
Tested-by: Derrick Brashear <shadow@dementix.org>
if (getenv("SOURCE") == NULL)
path = strdup("test1.conf");
else
- asprintf(&path, "%s/command/test1.conf", getenv("SOURCE"));
+ asprintf(&path, "%s/cmd/test1.conf", getenv("SOURCE"));
cmd_SetCommandName("test");
code = cmd_OpenConfigFile(path);