repo.or.cz
/
git
/
gitweb.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
test-bzr.sh, test-hg.sh: allow running from any dir
[git/gitweb.git]
/
test-mktemp.c
blob
c8c54213a3916c4adffd7396a37ed83e88af34fb
1
/*
2
* test-mktemp.c: code to exercise the creation of temporary files
3
*/
4
#include
"git-compat-util.h"
5
6
int
main
(
int
argc
,
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
}