Home
last modified time | relevance | path

Searched refs:tmpdir (Results 1 – 16 of 16) sorted by relevance

/glibc-2.36/io/
Dftwtest-sh46 tmpdir=$(mktemp -d $tmp/ftwtest.d.XXXXXX)
47 ftwtest=$(basename $tmpdir)
51 mkdir $tmpdir/foo
52 mkdir $tmpdir/bar
53 echo > $tmpdir/baz
54 mkdir $tmpdir/foo/lvl1
55 echo > $tmpdir/foo/lvl1/file@1
56 mkdir $tmpdir/foo/lvl1/lvl2
57 echo > $tmpdir/foo/lvl1/lvl2/file@2
58 mkdir $tmpdir/foo/lvl1/lvl2/lvl3
[all …]
/glibc-2.36/stdio-common/
Dscanf15.c66 const char *tmpdir = getenv ("TMPDIR"); in main() local
67 if (tmpdir == NULL || tmpdir[0] == '\0') in main()
68 tmpdir = "/tmp"; in main()
70 char fname[strlen (tmpdir) + sizeof "/tst-scanf15.XXXXXX"]; in main()
71 sprintf (fname, "%s/tst-scanf15.XXXXXX", tmpdir); in main()
Dscanf14.c83 const char *tmpdir = getenv ("TMPDIR"); in main() local
84 if (tmpdir == NULL || tmpdir[0] == '\0') in main()
85 tmpdir = "/tmp"; in main()
87 char fname[strlen (tmpdir) + sizeof "/tst-scanf14.XXXXXX"]; in main()
88 sprintf (fname, "%s/tst-scanf14.XXXXXX", tmpdir); in main()
Dscanf14a.c89 const char *tmpdir = getenv ("TMPDIR"); in main() local
90 if (tmpdir == NULL || tmpdir[0] == '\0') in main()
91 tmpdir = "/tmp"; in main()
93 char fname[strlen (tmpdir) + sizeof "/tst-scanf14.XXXXXX"]; in main()
94 sprintf (fname, "%s/tst-scanf14.XXXXXX", tmpdir); in main()
Dscanf17.c97 const char *tmpdir = getenv ("TMPDIR"); in main() local
98 if (tmpdir == NULL || tmpdir[0] == '\0') in main()
99 tmpdir = "/tmp"; in main()
101 char fname[strlen (tmpdir) + sizeof "/tst-scanf17.XXXXXX"]; in main()
102 sprintf (fname, "%s/tst-scanf17.XXXXXX", tmpdir); in main()
Dscanf16.c114 const char *tmpdir = getenv ("TMPDIR"); in main() local
115 if (tmpdir == NULL || tmpdir[0] == '\0') in main()
116 tmpdir = "/tmp"; in main()
118 char fname[strlen (tmpdir) + sizeof "/tst-scanf16.XXXXXX"]; in main()
119 sprintf (fname, "%s/tst-scanf16.XXXXXX", tmpdir); in main()
Dscanf16a.c119 const char *tmpdir = getenv ("TMPDIR"); in main() local
120 if (tmpdir == NULL || tmpdir[0] == '\0') in main()
121 tmpdir = "/tmp"; in main()
123 char fname[strlen (tmpdir) + sizeof "/tst-scanf16.XXXXXX"]; in main()
124 sprintf (fname, "%s/tst-scanf16.XXXXXX", tmpdir); in main()
Dtst-fseek.c32 const char *tmpdir; in do_test() local
43 tmpdir = getenv ("TMPDIR"); in do_test()
44 if (tmpdir == NULL || tmpdir[0] == '\0') in do_test()
45 tmpdir = "/tmp"; in do_test()
47 asprintf (&fname, "%s/tst-fseek.XXXXXX", tmpdir); in do_test()
/glibc-2.36/scripts/
Dinstall-sh337 tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
346 $mkdirprog $mkdir_mode "$tmpdir" &&
347 exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1
354 test_tmpdir="$tmpdir/a"
368 rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir"
371 rmdir ./$mkdir_mode ./-p ./-- "$tmpdir" 2>/dev/null
/glibc-2.36/posix/
Dtst-glob_symlinks.c88 char tmpdir[PATH_MAX]; in do_prepare() local
89 snprintf (tmpdir, sizeof tmpdir, "%s/dangling-tst-glob_folder.XXXXXX", in do_prepare()
91 TEST_VERIFY_EXIT (mkdtemp (tmpdir) != NULL); in do_prepare()
92 create_link ("dangling-symlink-dir-tst-glob", tmpdir, dangling_dir, in do_prepare()
94 TEST_VERIFY_EXIT (rmdir (tmpdir) == 0); in do_prepare()
Dtst-fork.c34 const char *tmpdir = getenv ("TMPDIR"); in main() local
44 if (tmpdir == NULL || *tmpdir == '\0') in main()
45 tmpdir = "/tmp"; in main()
46 tmpdirlen = strlen (tmpdir); in main()
52 mempcpy (mempcpy (name, tmpdir, tmpdirlen), in main()
Dwordexp-test.c237 char tmpdir[32]; in do_test() local
252 tmpnam (tmpdir); in do_test()
253 xmkdir (tmpdir, S_IRWXU); in do_test()
254 TEST_VERIFY_EXIT (chdir (tmpdir) == 0); in do_test()
332 rmdir (tmpdir); in do_test()
/glibc-2.36/stdlib/
Dtst-system.c30 static char *tmpdir; variable
36 tmpdir = support_create_temp_directory ("tst-system-"); in do_prepare()
38 namemax = pathconf (tmpdir, _PC_NAME_MAX) + 1; in do_prepare()
87 cmd, 127, 0, tmpdir in do_test()
106 cmd, 127, 0, tmpdir in do_test()
/glibc-2.36/ChangeLog.old/
DChangeLog.219846 (tmpdir): New.
DChangeLog.1911659 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
11935 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
DChangeLog.1886040 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
86041 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking