repo.or.cz
/
alt-git.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
perf/aggregate: add --subsection option
[alt-git.git]
/
t
/
helper
/
test-mktemp.c
blob
89d9b2f7bee05ff5c9fde31ba6798651ccee2947
1
/*
2
* test-mktemp.c: code to exercise the creation of temporary files
3
*/
4
#include
"git-compat-util.h"
5
6
int
cmd_main
(
int
argc
,
const char
**
argv
)
7
{
8
if
(
argc
!=
2
)
9
usage
(
"Expected 1 parameter defining the temporary file template"
);
10
11
xmkstemp
(
xstrdup
(
argv
[
1
]));
12
13
return
0
;
14
}