summaryrefslogtreecommitdiff
path: root/t/helper/test-mktemp.c
blob: c8c54213a3916c4adffd7396a37ed83e88af34fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*
 * test-mktemp.c: code to exercise the creation of temporary files
 */
#include "git-compat-util.h"

int main(int argc, char *argv[])
{
	if (argc != 2)
		usage("Expected 1 parameter defining the temporary file template");

	xmkstemp(xstrdup(argv[1]));

	return 0;
}