Searched refs:curdir (Results 1 - 25 of 87) sorted by relevance

1234

/netbsd-current/libexec/httpd/testsuite/
H A Dtest-simple7 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"
/netbsd-current/tests/lib/libc/kevent_nullmnt/
H A Dt_nullmnt.sh3 curdir=$(pwd)
12 mkdir ${curdir}/lower_dir
13 mkdir ${curdir}/upper_dir
14 mount -t null ${curdir}/lower_dir ${curdir}/upper_dir
15 rm -f ${curdir}/lower_dir/afile
16 touch ${curdir}/lower_dir/afile
19 ${helper} ${curdir}/${1}/afile ${curdir}/${2}/afile
24 curdir
[all...]
/netbsd-current/usr.bin/make/unit-tests/
H A Dopt-where-am-i.exp3 make: Leaving directory `<curdir>'
H A Dopt-debug-errors-jobs.exp5 *** In directory: <curdir>
15 *** In directory: <curdir>
27 *** In directory: <curdir>
39 *** In directory: <curdir>
49 *** In directory: <curdir>
57 *** In directory: <curdir>
H A Dopt-debug-graph1.exp18 .CURDIR = <curdir>
36 .OBJDIR = <curdir>
37 .PATH = . <curdir>
50 # 1 0 <curdir>
H A Dsuff-transform-debug.exp9 .CURDIR = <curdir>
27 .OBJDIR = <curdir>
28 .PATH = . <curdir>
41 # 1 0 <curdir>
H A Dopt-debug-graph2.exp52 .CURDIR = <curdir>
70 .OBJDIR = <curdir>
71 .PATH = . <curdir>
85 # 1 0 <curdir>
H A Dopt-debug-graph3.exp52 .CURDIR = <curdir>
70 .OBJDIR = <curdir>
71 .PATH = . <curdir>
85 # 1 0 <curdir>
/netbsd-current/bin/sh/
H A Dcd.c77 char *curdir = NULL; /* current working directory */ variable
98 * Try (quite hard) to have 'curdir' defined, nothing has set
109 if (!curdir)
111 p = strstr(curdir, dest);
114 d = stalloc(strlen(curdir) + strlen(argptr[1]) + 1);
115 memcpy(d, curdir, p - curdir);
116 strcpy(d + (p - curdir), argptr[1]);
121 dest = prevdir ? prevdir : curdir;
170 * something we can't stat, clear curdir t
[all...]
/netbsd-current/crypto/external/bsd/openssl.old/dist/test/recipes/
H A D60-test_x509_store.t43 copy(srctop_file("test", "certs", "$_.pem"), curdir());
45 ok(run(app([qw(openssl rehash), curdir()])), "Rehashing");
48 ok(verify("ee-cert", "sslserver", curdir(), ["ca-cert"], "-show_chain"),
52 ok(!verify("ca-root2", "any", curdir(), [], "-show_chain"));
H A D40-test_rehash.t30 ok(run(app(["openssl", "rehash", curdir()])),
36 ok(run(app(["openssl", "rehash", curdir()])),
41 ok(run(app(["openssl", "rehash", curdir()])),
47 chmod 0500, curdir();
53 isnt(run(app(["openssl", "rehash", curdir()])), 1,
56 chmod 0700, curdir(); # make it writable again, so cleanup works
76 catfile(curdir(),
H A D90-test_store.t198 catdir(curdir(), 'rehash')])));
202 catdir(curdir(), 'rehash')])));
205 catdir(curdir(), 'rehash')])));
208 catdir(curdir(), 'rehash')])));
212 catdir(curdir(), 'rehash')])));
216 catdir(curdir(), 'rehash')])));
418 mkdir(catdir(curdir(), 'rehash'))
420 catdir(curdir(), 'rehash'))
422 catdir(curdir(), 'rehash'))
423 && run(app(['openssl', 'rehash', catdir(curdir(), 'rehas
[all...]
/netbsd-current/crypto/external/bsd/openssl/dist/test/recipes/
H A D60-test_x509_store.t43 copy(srctop_file("test", "certs", "$_.pem"), curdir());
45 ok(run(app([qw(openssl rehash), curdir()])), "Rehashing");
48 ok(verify("ee-cert", "sslserver", curdir(), ["ca-cert"], "-show_chain"),
52 ok(!verify("ca-root2", "any", curdir(), [], "-show_chain"));
H A D40-test_rehash.t30 ok(run(app(["openssl", "rehash", curdir()])),
36 ok(run(app(["openssl", "rehash", curdir()])),
41 ok(run(app(["openssl", "rehash", curdir()])),
47 chmod 0500, curdir();
53 isnt(run(app(["openssl", "rehash", curdir()])), 1,
56 chmod 0700, curdir(); # make it writable again, so cleanup works
76 catfile(curdir(),
H A D90-test_store.t283 catdir(curdir(), 'rehash')])));
287 catdir(curdir(), 'rehash')])));
290 catdir(curdir(), 'rehash')])));
293 catdir(curdir(), 'rehash')])));
297 catdir(curdir(), 'rehash')])));
301 catdir(curdir(), 'rehash')])));
528 mkdir(catdir(curdir(), 'rehash'))
530 catdir(curdir(), 'rehash'))
532 catdir(curdir(), 'rehash'))
533 && run(app(['openssl', 'rehash', catdir(curdir(), 'rehas
[all...]
/netbsd-current/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.base/
H A Dset-cwd.exp58 set curdir ""
62 set curdir $expect_out(1,string)
67 if { $curdir == "" } {
72 gdb_assert [string equal $curdir $home] \
/netbsd-current/external/gpl3/gdb/dist/gdb/testsuite/gdb.base/
H A Dset-cwd.exp57 set curdir ""
61 set curdir $expect_out(1,string)
66 if { $curdir == "" } {
71 gdb_assert [string equal $curdir $home] \
/netbsd-current/sbin/restore/
H A Dinteractive.c104 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" i
311 getcmd(char *curdir, char *cmd, char *name, size_t size, struct arglist *ap) argument
[all...]
/netbsd-current/external/ibm-public/postfix/dist/src/local/
H A Dmaildir.c85 char *curdir; local
131 curdir = concatenate(path, "cur/", (char *) 0);
217 || (make_dirs(curdir, 0700), make_dirs(newdir, 0700)) < 0
254 myfree(curdir);
/netbsd-current/external/ibm-public/postfix/dist/src/virtual/
H A Dmaildir.c80 char *curdir; local
125 curdir = concatenate(usr_attr.mailbox, "cur/", (char *) 0);
211 || (make_dirs(curdir, 0700), make_dirs(newdir, 0700)) < 0
251 myfree(curdir);
/netbsd-current/crypto/external/bsd/openssl.old/dist/test/
H A Drun_tests.pl17 use File::Spec::Functions qw/catdir catfile curdir abs2rel rel2abs/;
87 my $ret = $harness->runtests(map { abs2rel($_, rel2abs(curdir())); }
/netbsd-current/sbin/fsck_lfs/
H A Dutilities.c186 getpathname(char *namebuf, size_t namebuflen, ino_t curdir, ino_t ino) argument
193 if (curdir == ino && ino == ULFS_ROOTINO) {
198 (statemap[curdir] != DSTATE && statemap[curdir] != DFOUND)) {
208 if (curdir != ino) {
209 idesc.id_parent = curdir;
/netbsd-current/external/bsd/ntp/dist/libntp/
H A Dmsyslog.c464 char curdir[512]; local
498 NULL != getcwd(curdir, sizeof(curdir))) {
499 cd_octets = strlen(curdir);
502 DIR_SEP == curdir[cd_octets - 1])
510 (int)cd_octets, curdir, DIR_SEP,
/netbsd-current/usr.bin/make/
H A Dmain.c139 char curdir[MAXPATHLEN + 1]; /* Startup directory */ variable
362 if (getcwd(curdir, MAXPATHLEN) == NULL) {
368 stat(curdir, &sb) != -1 &&
371 snprintf(curdir, MAXPATHLEN, "%s", argvalue);
442 char *found_path = Dir_FindHereOrAbove(curdir, argvalue + 4);
729 if (snprintf(buf2, MAXPATHLEN, "%s/%s", curdir, path) <= MAXPATHLEN)
754 if (opts.enterFlag && strcmp(objdir, curdir) != 0)
1015 * since the value of curdir can vary depending on how we got
1043 snprintf(curdir, MAXPATHLEN, "%s", pwd);
1064 Dir_InitCur(curdir);
[all...]
/netbsd-current/lib/libc/citrus/modules/
H A Dcitrus_iconv_none.c71 const char * __restrict curdir,
69 _citrus_iconv_none_iconv_init_shared( struct _citrus_iconv_shared * __restrict ci, const char * __restrict curdir, const char * __restrict in, const char * __restrict out, const void * __restrict var, size_t lenvar) argument

Completed in 229 milliseconds

1234