From c8e52c1f457a237ec83be0fbe535077d5bccdd51 Mon Sep 17 00:00:00 2001 From: Simon Wilkinson Date: Wed, 20 Jun 2012 16:55:25 -0400 Subject: [PATCH] tests: Fix cmd config file path 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 Tested-by: Derrick Brashear --- tests/cmd/command-t.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/cmd/command-t.c b/tests/cmd/command-t.c index e5f4ef6..b4718f3 100644 --- a/tests/cmd/command-t.c +++ b/tests/cmd/command-t.c @@ -363,7 +363,7 @@ main(int argc, char **argv) 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); -- 1.9.4