diff options
author | pjd <pjd@FreeBSD.org> | 2010-08-15 21:29:03 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2010-08-15 21:29:03 +0000 |
commit | 59ce935eae32a0e4b1c905f7ff589201fb1cd56b (patch) | |
tree | 1c52c614f37c0a26e34d87a70579f1d8342081d4 /tools/regression | |
parent | d6f7bade9130f0264c8002f9ed0bfa338bdb99ab (diff) | |
download | FreeBSD-src-59ce935eae32a0e4b1c905f7ff589201fb1cd56b.zip FreeBSD-src-59ce935eae32a0e4b1c905f7ff589201fb1cd56b.tar.gz |
Finish renaming fstest to pjdfstest.
Diffstat (limited to 'tools/regression')
-rw-r--r-- | tools/regression/pjdfstest/LICENSE | 2 | ||||
-rw-r--r-- | tools/regression/pjdfstest/Makefile | 2 | ||||
-rw-r--r-- | tools/regression/pjdfstest/README | 8 | ||||
-rw-r--r-- | tools/regression/pjdfstest/pjdfstest.c (renamed from tools/regression/pjdfstest/fstest.c) | 2 | ||||
-rw-r--r-- | tools/regression/pjdfstest/tests/conf | 2 | ||||
-rw-r--r-- | tools/regression/pjdfstest/tests/misc.sh | 6 |
6 files changed, 11 insertions, 11 deletions
diff --git a/tools/regression/pjdfstest/LICENSE b/tools/regression/pjdfstest/LICENSE index 972fc1d..bde2232 100644 --- a/tools/regression/pjdfstest/LICENSE +++ b/tools/regression/pjdfstest/LICENSE @@ -1,6 +1,6 @@ $FreeBSD$ -License for all regression tests available with fstest: +License for all regression tests available with pjdfstest: Copyright (c) 2006-2010 Pawel Jakub Dawidek <pjd@FreeBSD.org> All rights reserved. diff --git a/tools/regression/pjdfstest/Makefile b/tools/regression/pjdfstest/Makefile index 7c363cc..3764aa9 100644 --- a/tools/regression/pjdfstest/Makefile +++ b/tools/regression/pjdfstest/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -PROG= fstest +PROG= pjdfstest ${PROG}: ${PROG}.c @OSTYPE=`uname`; \ diff --git a/tools/regression/pjdfstest/README b/tools/regression/pjdfstest/README index 841ed40..fb1cda5 100644 --- a/tools/regression/pjdfstest/README +++ b/tools/regression/pjdfstest/README @@ -1,17 +1,17 @@ $FreeBSD$ -Few notes on how to use fstest in short steps: +Few notes on how to use pjdfstest in short steps: - # cd fstest + # cd pjdfstest # vi tests/conf Change 'fs' to file system type you want to test (UFS or ZFS). # vi Makefile You need to manually tweak few things by editing CFLAGS lines at the top of the file. # make - It will compile fstest utility which is used by regression tests. + It will compile pjdfstest utility which is used by regression tests. # cd /path/to/file/system/you/want/to/test/ - # prove -r /path/to/fstest/ + # prove -r /path/to/pjdfstest/tests That's all. Enjoy. diff --git a/tools/regression/pjdfstest/fstest.c b/tools/regression/pjdfstest/pjdfstest.c index 9d98c61..b6a3c09 100644 --- a/tools/regression/pjdfstest/fstest.c +++ b/tools/regression/pjdfstest/pjdfstest.c @@ -264,7 +264,7 @@ static void usage(void) { - fprintf(stderr, "usage: fstest [-U umask] [-u uid] [-g gid1[,gid2[...]]] syscall args ...\n"); + fprintf(stderr, "usage: pjdfstest [-U umask] [-u uid] [-g gid1[,gid2[...]]] syscall args ...\n"); exit(1); } diff --git a/tools/regression/pjdfstest/tests/conf b/tools/regression/pjdfstest/tests/conf index 6ec8d4b..f914941 100644 --- a/tools/regression/pjdfstest/tests/conf +++ b/tools/regression/pjdfstest/tests/conf @@ -1,5 +1,5 @@ # $FreeBSD$ -# fstest configuration file +# pjdfstest configuration file # Supported operating systems: FreeBSD, Darwin, SunOS, Linux os=`uname` diff --git a/tools/regression/pjdfstest/tests/misc.sh b/tools/regression/pjdfstest/tests/misc.sh index 879c22a..0d3ce35 100644 --- a/tools/regression/pjdfstest/tests/misc.sh +++ b/tools/regression/pjdfstest/tests/misc.sh @@ -10,7 +10,7 @@ case "${dir}" in maindir="`pwd`/${dir}/../.." ;; esac -fstest="${maindir}/fstest" +fstest="${maindir}/pjdfstest" . ${maindir}/tests/conf expect() @@ -42,7 +42,7 @@ jexpect() d="${2}" e="${3}" shift 3 - r=`jail -s ${s} / fstest 127.0.0.1 /bin/sh -c "cd ${d} && ${fstest} $* 2>/dev/null" | tail -1` + r=`jail -s ${s} / pjdfstest 127.0.0.1 /bin/sh -c "cd ${d} && ${fstest} $* 2>/dev/null" | tail -1` echo "${r}" | ${GREP} -Eq '^'${e}'$' if [ $? -eq 0 ]; then if [ -z "${todomsg}" ]; then @@ -89,7 +89,7 @@ todo() namegen() { - echo "fstest_`dd if=/dev/urandom bs=1k count=1 2>/dev/null | openssl md5`" + echo "pjdfstest_`dd if=/dev/urandom bs=1k count=1 2>/dev/null | openssl md5`" } namegen_len() |