| Arnout Engelen | 6cf6bb3 | 2010-12-18 21:28:00 | [diff] [blame] | 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 | } | ||||