Add some code to limit the repquota output to just the local entries and not

the evil NIS entries.  This allows me to run the tests in Eagan with NIS
enabled.
Add a parameter to _filter_and_check_blocks and pass it to _filter_repquota.
Use the new parameter to _filter_repquota.
This commit is contained in:
Nathan Straz
2003-05-20 23:51:40 +00:00
parent d4a70b1114
commit 0cac704bdf
6 changed files with 8 additions and 56 deletions
-12
View File
@@ -14,8 +14,6 @@ Group used soft hard grace used soft hard grace
----------------------------------------------------------------------
[NAME] -- 0 0 0 3 0 0
*** report initial settings
*** Report for group quotas on device [DEVICE]
Block grace time: 7days; Inode grace time: 7days
@@ -25,8 +23,6 @@ Group used soft hard grace used soft hard grace
[NAME] -- 0 0 0 3 0 0
[NAME] -- 0 100 500 1 4 10
*** push past the soft inode limit
*** Report for group quotas on device [DEVICE]
Block grace time: 7days; Inode grace time: 7days
@@ -36,8 +32,6 @@ Group used soft hard grace used soft hard grace
[NAME] -- 0 0 0 3 0 0
[NAME] -- 0 100 500 3 4 10
*** push past the soft block limit
*** Report for group quotas on device [DEVICE]
Block grace time: 7days; Inode grace time: 7days
@@ -47,8 +41,6 @@ Group used soft hard grace used soft hard grace
[NAME] -- 0 0 0 3 0 0
[NAME] +- 140 100 500 7days 4 4 10 7days
*** push past the hard inode limit (expect EDQUOT)
*** Report for group quotas on device [DEVICE]
Block grace time: 7days; Inode grace time: 7days
@@ -58,8 +50,6 @@ Group used soft hard grace used soft hard grace
[NAME] -- 0 0 0 3 0 0
[NAME] ++ 140 100 500 7days 10 4 10 7days
*** push past the hard block limit (expect EDQUOT)
*** Report for group quotas on device [DEVICE]
Block grace time: 7days; Inode grace time: 7days
@@ -69,6 +59,4 @@ Group used soft hard grace used soft hard grace
[NAME] -- 0 0 0 3 0 0
[NAME] ++ OK 100 500 7days 10 4 10 7days
*** unmount