t / helper / test-mktemp.con commit Sync with maint (a42d7b6)
   1/*
   2 * test-mktemp.c: code to exercise the creation of temporary files
   3 */
   4#include "git-compat-util.h"
   5
   6int 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}