Finish renaming fstest to pjdfstest.
This commit is contained in:
parent
6a8d8aa193
commit
3618f38566
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=211354
@ -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.
|
||||
|
@ -1,6 +1,6 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PROG= fstest
|
||||
PROG= pjdfstest
|
||||
|
||||
${PROG}: ${PROG}.c
|
||||
@OSTYPE=`uname`; \
|
||||
|
@ -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.
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
# $FreeBSD$
|
||||
# fstest configuration file
|
||||
# pjdfstest configuration file
|
||||
|
||||
# Supported operating systems: FreeBSD, Darwin, SunOS, Linux
|
||||
os=`uname`
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user