aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'test-skeleton.c')
-rw-r--r--test-skeleton.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test-skeleton.c b/test-skeleton.c
index 78a88dccb7..24f8fb8eed 100644
--- a/test-skeleton.c
+++ b/test-skeleton.c
@@ -225,6 +225,7 @@ main (int argc, char *argv[])
atexit (delete_temp_files);
/* Correct for the possible parameters. */
+ argv[optind - 1] = argv[0];
argv += optind - 1;
argc -= optind - 1;