summaryrefslogtreecommitdiff
path: root/test-path-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'test-path-utils.c')
-rw-r--r--test-path-utils.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/test-path-utils.c b/test-path-utils.c
index 1bd43216f6..842b58018f 100644
--- 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;
}