Lines Matching refs:dir
35 dir=/tmp/beneath4.dir
36 rm -rf $dir
37 mkdir -p $dir
39 cd $dir
57 char *cwd, *dir, *obj, *s;
67 dir = argv[1];
78 if ((fd = open(dir, O_DIRECTORY | O_RDONLY)) == -1)
79 err(1, "open(%s)", dir);
89 cwd, dir, flag, obj, r, exp, s);
97 mkdir -p /tmp/beneath4.dir/a/a
98 touch /tmp/beneath4.dir/a/f
99 ln /tmp/beneath4.dir/a/f /tmp/beneath4.dir/a/c
100 ln -s /tmp/beneath4.dir/a/a /tmp/beneath4.dir/a/d
101 ln -s /tmp/beneath4.dir/a/b /tmp/beneath4.dir/a/e
102 mkfifo /tmp/beneath4.dir/a/fifo
104 top=$dir/a
121 $dir/beneath4 $top a 0x2000 0 || s=1
122 $dir/beneath4 $top b 0x2000 2 || s=1
123 $dir/beneath4 $top c 0x2000 0 || s=1
124 $dir/beneath4 $top d 0x2000 93 || s=1
125 $dir/beneath4 $top e 0x2000 93 || s=1
126 $dir/beneath4 $top fifo 0x2000 0 || s=1
127 $dir/beneath4 $top $top/../../beneath4.d/a/a 0x2000 93 || s=1
128 $dir/beneath4 $top $top/.. 0x2000 93 || s=1
129 $dir/beneath4 $top ../a 0x2000 93 || s=1
131 $dir/beneath4 $top ../a 0x0000 0 || s=1