5 name253="_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_12"
8 path1021="${name255}/${name255}/${name255}/${name253}"
9 path1023="${path1021}/x"
10 path1024="${path1023}x"
12 echo ${dir} | egrep '^/' >/dev/null 2>&1
14 maindir="${dir}/../.."
16 maindir="`pwd`/${dir}/../.."
18 fstest="${maindir}/fstest"
19 . ${maindir}/tests/conf
25 r=`${fstest} $* 2>/dev/null | tail -1`
26 echo "${r}" | egrep '^'${e}'$' >/dev/null 2>&1
28 if [ -z "${todomsg}" ]; then
31 echo "ok ${ntest} # TODO ${todomsg}"
34 if [ -z "${todomsg}" ]; then
35 echo "not ok ${ntest} - tried '$*', expected ${e}, got ${r}"
37 echo "not ok ${ntest} # TODO ${todomsg}"
41 ntest=`expr $ntest + 1`
50 r=`jail -s ${s} / fstest 127.0.0.1 /bin/sh -c "cd ${d} && ${fstest} $* 2>/dev/null" | tail -1`
51 echo "${r}" | egrep '^'${e}'$' >/dev/null 2>&1
53 if [ -z "${todomsg}" ]; then
56 echo "ok ${ntest} # TODO ${todomsg}"
59 if [ -z "${todomsg}" ]; then
60 echo "not ok ${ntest} - tried '$*', expected ${e}, got ${r}"
62 echo "not ok ${ntest} # TODO ${todomsg}"
66 ntest=`expr $ntest + 1`
72 if [ -z "${todomsg}" ]; then
75 echo "ok ${ntest} # TODO ${todomsg}"
78 if [ -z "${todomsg}" ]; then
79 echo "not ok ${ntest}"
81 echo "not ok ${ntest} # TODO ${todomsg}"
85 ntest=`expr $ntest + 1`
90 echo "${os}" | $GREP -iq "${1}"
98 echo "fstest_`dd if=/dev/urandom bs=1k count=1 2>/dev/null | openssl md5`"
112 if [ "${os}" != "FreeBSD" ]; then
117 if [ "${os}" != "FreeBSD" ]; then
122 if [ "${os}" != "FreeBSD" -o "${fs}" != "UFS" ]; then
132 if supported ${1}; then