Commit ff3eb0f20ce375251155ad0ef30dfc944323635a

Stefan Sperling 2018-03-09T15:33:12

fix repos path argument processing in repository_test

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/regress/repository/repository_test.c b/regress/repository/repository_test.c
index 85c24b2..475cdbc 100644
--- a/regress/repository/repository_test.c
+++ b/regress/repository/repository_test.c
@@ -429,7 +429,7 @@ main(int argc, char *argv[])
 	if (argc == 0)
 		repo_path = GOT_REPO_PATH;
 	else if (argc == 1)
-		repo_path = argv[1];
+		repo_path = argv[0];
 	else {
 		usage();
 		return 1;