dir: fix treatment of negated pathspecs
[git/raj.git] / t / helper / test-mktemp.c
blob229068894029338c52f5d0b9828c442658be67e5
1 /*
2 * test-mktemp.c: code to exercise the creation of temporary files
3 */
4 #include "test-tool.h"
5 #include "git-compat-util.h"
7 int cmd__mktemp(int argc, const char **argv)
9 if (argc != 2)
10 usage("Expected 1 parameter defining the temporary file template");
12 xmkstemp(xstrdup(argv[1]));
14 return 0;