| /src/libexec/httpd/testsuite/ |
| test-simple | 7 curdir="$1"; shift 10 in="$curdir/$test.in" 11 out="$curdir/$test.out" 24 if "$curdir/html_cmp" cmp "$out" "$tmpout"; then 30 $curdir/html_cmp diff "$out" "$tmpout"
|
| /src/tests/lib/libc/kevent_nullmnt/ |
| t_nullmnt.sh | 3 curdir=$(pwd) 29 mkdir ${curdir}/lower_dir 30 mkdir ${curdir}/upper_dir 31 mount -t null ${curdir}/lower_dir ${curdir}/upper_dir || \ 33 rm -f ${curdir}/lower_dir/afile 34 touch ${curdir}/lower_dir/afile 37 ${helper} ${curdir}/${1}/afile ${curdir}/${2}/afile 42 curdir=$(pwd [all...] |
| /src/usr.bin/make/unit-tests/ |
| opt-tracefile.exp | 4 <timestamp> 0 BEG <make-pid> <curdir> 5 <timestamp> 1 JOB <make-pid> <curdir> dependency1 <job-pid> --- OP_DEPENDS|OP_PHONY|OP_HAS_COMMANDS|OP_DEPS_FOUND|OP_MARK 6 <timestamp> 1 DON <make-pid> <curdir> dependency1 <job-pid> --- OP_DEPENDS|OP_PHONY|OP_HAS_COMMANDS|OP_DEPS_FOUND|OP_MARK 7 <timestamp> 1 JOB <make-pid> <curdir> dependency2 <job-pid> --- OP_DEPENDS|OP_PHONY|OP_HAS_COMMANDS|OP_DEPS_FOUND|OP_MARK 8 <timestamp> 1 DON <make-pid> <curdir> dependency2 <job-pid> --- OP_DEPENDS|OP_PHONY|OP_HAS_COMMANDS|OP_DEPS_FOUND|OP_MARK 9 <timestamp> 1 JOB <make-pid> <curdir> trace <job-pid> --- OP_DEPENDS|OP_PHONY|OP_HAS_COMMANDS|OP_DEPS_FOUND 10 <timestamp> 1 DON <make-pid> <curdir> trace <job-pid> --- OP_DEPENDS|OP_PHONY|OP_HAS_COMMANDS|OP_DEPS_FOUND 11 <timestamp> 0 END <make-pid> <curdir>
|
| opt-where-am-i.exp | 3 make: Leaving directory `<curdir>'
|
| opt-debug-errors-jobs.exp | 5 *** In directory: <curdir> 15 *** In directory: <curdir> 27 *** In directory: <curdir> 39 *** In directory: <curdir> 49 *** In directory: <curdir> 57 *** In directory: <curdir>
|
| opt-debug-graph1.exp | 1 #*** Begin input graph for pass 1 in <curdir>: 18 .CURDIR = <curdir> 36 .OBJDIR = <curdir> 37 .PATH = . <curdir> 50 # 1 0 <curdir> 56 #*** End input graph for pass 1 in <curdir>:
|
| suff-transform-debug.exp | 1 #*** Begin input graph for pass 1 in <curdir>: 9 .CURDIR = <curdir> 27 .OBJDIR = <curdir> 28 .PATH = . <curdir> 41 # 1 0 <curdir> 65 #*** End input graph for pass 1 in <curdir>:
|
| opt-debug-graph2.exp | 7 #*** Begin input graph for pass 2 in <curdir>: 52 .CURDIR = <curdir> 70 .OBJDIR = <curdir> 71 .PATH = . <curdir> 85 # 1 0 <curdir> 91 #*** End input graph for pass 2 in <curdir>:
|
| opt-debug-graph3.exp | 7 #*** Begin input graph for pass 3 in <curdir>: 52 .CURDIR = <curdir> 70 .OBJDIR = <curdir> 71 .PATH = . <curdir> 85 # 1 0 <curdir> 91 #*** End input graph for pass 3 in <curdir>:
|
| suff-main-several.exp | 66 #*** Begin input graph for pass 1 in <curdir>: 83 .CURDIR = <curdir> 101 .OBJDIR = <curdir> 102 .PATH = . <curdir> 115 # 1 0 <curdir> 137 #*** End input graph for pass 1 in <curdir>:
|
| varname-dot-curdir.mk | 1 # $NetBSD: varname-dot-curdir.mk,v 1.7 2020/10/08 19:09:08 rillig Exp $ 3 # Tests for the special .CURDIR variable, which is initially set to the 12 .if !exists(${.CURDIR}) 15 .if !exists(${.CURDIR}/) 18 .if !exists(${.CURDIR}/.) 21 .if !exists(${.CURDIR}/..) 25 # Until 2020-10-04, assigning the result of a shell assignment to .CURDIR 31 .CURDIR!= echo / 37 # Appending to .CURDIR does not make sense, therefore it doesn't matter that 39 .CURDIR= [all...] |
| varname-empty.exp | 3 Global: .CURDIR = <curdir>
|
| /src/bin/sh/ |
| cd.c | 77 char *curdir = NULL; /* current working directory */ variable 100 * Try (quite hard) to have 'curdir' defined, nothing has set 111 if (!curdir) 113 p = strstr(curdir, dest); 116 dest, curdir); 117 d = stalloc(strlen(curdir) + strlen(argptr[1]) + 1); 118 memcpy(d, curdir, p - curdir); 119 strcpy(d + (p - curdir), argptr[1]); 124 dest = prevdir ? prevdir : curdir; [all...] |
| /src/sbin/restore/ |
| interactive.c | 104 char curdir[MAXPATHLEN]; local 116 canon("/", curdir, sizeof(curdir)); 128 getcmd(curdir, cmd, name, sizeof(name), &arglist); 158 (void) strcpy(curdir, name); 220 printlist(name, curdir); 228 if (curdir[1] == '\0') 231 fprintf(stderr, "%s\n", &curdir[1]); 302 * there are no arguments on the command line, then "curdir" 307 * "curdir" is prepended to it. Finally "canon" is called t [all...] |
| /src/sbin/fsck_lfs/ |
| utilities.c | 189 getpathname(char *namebuf, size_t namebuflen, ino_t curdir, ino_t ino) 196 if (curdir == ino && ino == ULFS_ROOTINO) { 201 (statemap[curdir] != DSTATE && statemap[curdir] != DFOUND)) { 211 if (curdir != ino) { 212 idesc.id_parent = curdir;
|
| /src/usr.bin/make/ |
| main.c | 140 char curdir[MAXPATHLEN + 1]; /* Startup directory */ variable 364 if (getcwd(curdir, MAXPATHLEN) == NULL) { 371 stat(curdir, &sb) != -1 && 374 snprintf(curdir, MAXPATHLEN, "%s", argvalue); 387 progname, argvalue, curdir); 447 char *found_path = Dir_FindHereOrAbove(curdir, argvalue + 4); 734 if (snprintf(buf2, MAXPATHLEN, "%s/%s", curdir, path) <= MAXPATHLEN) 759 if (opts.enterFlag && strcmp(objdir, curdir) != 0) 1003 * since the value of curdir can vary depending on how we got 1031 snprintf(curdir, MAXPATHLEN, "%s", pwd) [all...] |
| targ.c | 552 pass, curdir); 573 pass, curdir);
|
| /src/lib/libc/citrus/modules/ |
| citrus_iconv_none.c | 71 const char * __restrict curdir,
|
| citrus_mapper_std.c | 355 const char * __restrict curdir, 382 "%s/%.*s", curdir, (int)lenvar, (const char *)var);
|
| /src/bin/pax/ |
| ftree.c | 410 static char curdir[PAXPATHLEN+2], curpath[PAXPATHLEN+2]; local 437 curdir, curdirlen ? "/" : "", ftnode->name) 440 curdir, strerror(ENAMETOOLONG)); 527 curdirlen = strlcpy(curdir, curpath, sizeof(curdir)); 545 curdir[curdirlen] = '\0';
|
| /src/sbin/fsck_ext2fs/ |
| utilities.c | 409 getpathname(char *namebuf, size_t namebuflen, ino_t curdir, ino_t ino) 416 if (curdir == ino && ino == EXT2_ROOTINO) { 421 (statemap[curdir] != DSTATE && statemap[curdir] != DFOUND)) { 431 if (curdir != ino) { 432 idesc.id_parent = curdir;
|
| /src/tests/fs/tmpfs/ |
| t_rmdir.sh | 153 atf_test_case curdir 202 atf_add_test_case curdir
|
| /src/lib/libc/citrus/ |
| citrus_iconv.c | 106 lookup_iconv_entry(const char *curdir, const char *key, 114 snprintf(path, (size_t)PATH_MAX, ("%s/" _CITRUS_ICONV_DIR), curdir);
|
| /src/sbin/fsck_ffs/ |
| utilities.c | 476 getpathname(char *namebuf, size_t namebuflen, ino_t curdir, ino_t ino) 484 if (curdir == ino && ino == UFS_ROOTINO) { 488 info = inoinfo(curdir); 499 if (curdir != ino) { 500 idesc.id_parent = curdir;
|
| /src/usr.bin/crunch/crunchgen/ |
| crunchgen.c | 104 static char curdir[MAXPATHLEN]; variable 200 getcwd(curdir, MAXPATHLEN); 364 (void)estrlcpy(tmppath, curdir, sizeof(tmppath)); 476 (void)estrlcpy(tmppath, curdir, sizeof(tmppath)); 603 (void)estrlcpy(tmppath, curdir, sizeof(tmppath)); 694 fprintf(f, ".include \"${.CURDIR}/Makefile\"\n"); 1052 ".CURDIR:= ${%s_SRCDIR}\\n" 1053 ".include \"$${.CURDIR}/Makefile\"\\n", 1063 ".CURDIR:= ${%s_SRCDIR}\\n" 1064 ".include \"$${.CURDIR}/Makefile\"\\n" [all...] |