NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/46015: atf rquotad test no longer runnable



On Mon, Feb 13, 2012 at 04:24:11PM +0100, Manuel Bouyer wrote:
> It's probably my fault; I forgot to update this test case when I split
> non-quota parts out of ../ffs/quotas_common.sh. This should probably be:
> TESTS_SH_SRC_${name}=  ../ffs/ffs_common.sh ../ffs/quotas_common.sh ${name}.sh
> 
> I'll look at fixing this this evening, unless someone beats me.

The attached patch fixes it for me; I'll see with releng to commit it.

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--
Index: Makefile
===================================================================
RCS file: /cvsroot/src/tests/fs/nfs/Makefile,v
retrieving revision 1.6
diff -u -p -u -r1.6 Makefile
--- Makefile    30 May 2011 14:41:26 -0000      1.6
+++ Makefile    13 Feb 2012 19:54:59 -0000
@@ -11,7 +11,7 @@ TESTS_C=      t_mountd
 
 .for name in t_rquotad
 TESTS_SH+=     ${name}
-TESTS_SH_SRC_${name}=  ../ffs/quotas_common.sh ${name}.sh
+TESTS_SH_SRC_${name}=  ../ffs/ffs_common.sh ../ffs/quotas_common.sh ${name}.sh
 .endfor
 
 VFSTESTDIR != cd ${.CURDIR}/../common && ${PRINTOBJDIR}
Index: t_rquotad.sh
===================================================================
RCS file: /cvsroot/src/tests/fs/nfs/t_rquotad.sh,v
retrieving revision 1.1
diff -u -p -u -r1.1 t_rquotad.sh
--- t_rquotad.sh        12 Mar 2011 14:03:38 -0000      1.1
+++ t_rquotad.sh        13 Feb 2012 19:54:59 -0000
@@ -35,7 +35,7 @@ done
 
 get_nfs_quota()
 {
-       create_with_quotas $*
+       create_ffs $*
        local q=$3
        local expect
 
@@ -138,5 +138,5 @@ get_nfs_quota()
        done
 
        unset LD_PRELOAD
-       rump_shutdown
+       rump_quota_shutdown
 }


Home | Main Index | Thread Index | Old Index