Lines Matching refs:testing
3 [ -f testing.sh ] && . testing.sh
7 testing "default template uses \$TMPDIR" "TMPDIR=. mktemp | grep -q '^./tmp\...........$' && echo y…
8 testing "default creates file" "test -f `TMPDIR=. mktemp` && echo yes" "yes\n" \
10 testing "-d creates dir" "test -d `TMPDIR=. mktemp -d` && echo yes" "yes\n" \
12 testing "TEMPLATE does not use \$TMPDIR" "TMPDIR=/t mktemp -u hello.XXXXXXXX | grep -q '^hello\....…
13 testing "/ in TEMPLATE works but ignores \$TMPDIR" "TMPDIR=/t mktemp -u /x/hello.XXXXXXXX | grep -q…
14 testing "/ in TEMPLATE with -p DIR is error" "TMPDIR=/t mktemp -p DIR -u /x/hello.XXXXXXXX 2>/dev/n…
15 testing "-t TEMPLATE uses \$TMPDIR" "TMPDIR=/t mktemp -u -t hello.XXXXXXXX | grep -q '^/t/hello\...…
16 testing "-t and TEMPLATE but no \$TMPDIR uses /tmp" "TMPDIR= mktemp -u -t hello.XXXXXXXX | grep -q …
17 testing "-p DIR and TEMPLATE should use DIR" "TMPDIR=/t mktemp -u -p DIR hello.XXXXXXXX | grep -q '…
18 testing "-p DIR and -t: -t wins" "TMPDIR=/t mktemp -u -p DIR -t hello.XXXXXXXX | grep -q '^/t/hello…
19 testing "-p DIR -t TEMPLATE but no \$TMPDIR (DIR wins)" "TMPDIR= mktemp -u -p DIR -t hello.XXXXXXXX…
20 testing "-u doesn't need to be able to write to dir" \
23 testing "needs at least XXX in template" \
25 testing "-q shouldn't print path" \
27 testing "--tmpdir doesn't need argument" \
30 testing "--tmpdir can have argument" \