]> git.ipfire.org Git - thirdparty/git.git/blame - t/helper/test-mktemp.c
Merge branch 'ds/close-object-store' into maint
[thirdparty/git.git] / t / helper / test-mktemp.c
CommitLineData
6cf6bb3e
AE
1/*
2 * test-mktemp.c: code to exercise the creation of temporary files
3 */
d9cc2c87 4#include "test-tool.h"
6cf6bb3e
AE
5#include "git-compat-util.h"
6
d9cc2c87 7int cmd__mktemp(int argc, const char **argv)
6cf6bb3e
AE
8{
9 if (argc != 2)
10 usage("Expected 1 parameter defining the temporary file template");
11
12 xmkstemp(xstrdup(argv[1]));
13
14 return 0;
15}