Author: pjd
Date: Sun Aug 15 21:29:03 2010
New Revision: 211354
URL: http://svn.freebsd.org/changeset/base/211354

Log:
  Finish renaming fstest to pjdfstest.

Added:
  head/tools/regression/pjdfstest/pjdfstest.c
     - copied, changed from r211352, head/tools/regression/pjdfstest/fstest.c
Deleted:
  head/tools/regression/pjdfstest/fstest.c
Modified:
  head/tools/regression/pjdfstest/LICENSE
  head/tools/regression/pjdfstest/Makefile
  head/tools/regression/pjdfstest/README
  head/tools/regression/pjdfstest/tests/conf
  head/tools/regression/pjdfstest/tests/misc.sh

Modified: head/tools/regression/pjdfstest/LICENSE
==============================================================================
--- head/tools/regression/pjdfstest/LICENSE     Sun Aug 15 21:25:52 2010        
(r211353)
+++ head/tools/regression/pjdfstest/LICENSE     Sun Aug 15 21:29:03 2010        
(r211354)
@@ -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 <p...@freebsd.org>
 All rights reserved.

Modified: head/tools/regression/pjdfstest/Makefile
==============================================================================
--- head/tools/regression/pjdfstest/Makefile    Sun Aug 15 21:25:52 2010        
(r211353)
+++ head/tools/regression/pjdfstest/Makefile    Sun Aug 15 21:29:03 2010        
(r211354)
@@ -1,6 +1,6 @@
 # $FreeBSD$
 
-PROG=  fstest
+PROG=  pjdfstest
 
 ${PROG}:       ${PROG}.c
        @OSTYPE=`uname`; \

Modified: head/tools/regression/pjdfstest/README
==============================================================================
--- head/tools/regression/pjdfstest/README      Sun Aug 15 21:25:52 2010        
(r211353)
+++ head/tools/regression/pjdfstest/README      Sun Aug 15 21:29:03 2010        
(r211354)
@@ -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.
 

Copied and modified: head/tools/regression/pjdfstest/pjdfstest.c (from r211352, 
head/tools/regression/pjdfstest/fstest.c)
==============================================================================
--- head/tools/regression/pjdfstest/fstest.c    Sun Aug 15 21:24:17 2010        
(r211352, copy source)
+++ head/tools/regression/pjdfstest/pjdfstest.c Sun Aug 15 21:29:03 2010        
(r211354)
@@ -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);
 }
 

Modified: head/tools/regression/pjdfstest/tests/conf
==============================================================================
--- head/tools/regression/pjdfstest/tests/conf  Sun Aug 15 21:25:52 2010        
(r211353)
+++ head/tools/regression/pjdfstest/tests/conf  Sun Aug 15 21:29:03 2010        
(r211354)
@@ -1,5 +1,5 @@
 # $FreeBSD$
-# fstest configuration file
+# pjdfstest configuration file
 
 # Supported operating systems: FreeBSD, Darwin, SunOS, Linux
 os=`uname`

Modified: head/tools/regression/pjdfstest/tests/misc.sh
==============================================================================
--- head/tools/regression/pjdfstest/tests/misc.sh       Sun Aug 15 21:25:52 
2010        (r211353)
+++ head/tools/regression/pjdfstest/tests/misc.sh       Sun Aug 15 21:29:03 
2010        (r211354)
@@ -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()
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to