Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Fold test-absolute-path into test-path-utils
[gitweb.git]
/
test-path-utils.c
diff --git
a/test-path-utils.c
b/test-path-utils.c
index 1bd43216f66b7e9395fa343fa174c826e41da3d7..842b58018f7efebf7f92cee117d1a0b50297a12e 100644
(file)
--- a/
test-path-utils.c
+++ b/
test-path-utils.c
@@
-9,5
+9,13
@@
int main(int argc, char **argv)
puts(buf);
}
+ if (argc >= 2 && !strcmp(argv[1], "make_absolute_path")) {
+ while (argc > 2) {
+ puts(make_absolute_path(argv[2]));
+ argc--;
+ argv++;
+ }
+ }
+
return 0;
}