Skip to contentSkip to conversation

LTP-20100630:quota_remount_test01.sh test fails.

LTP Gurudas Pai 3 participants 4 messages Aug 2, 2010 – Aug 17, 2010

lore
Share & tools
lore
#0 lore raw

Hi,

quota_remount_test01.sh test fails.

<<<test_start>>>
tag=quota_remount_test01 stime=1280709472
cmdline="quota_remount_test01.sh"
contacts=""
analysis=exit
<<<test_output>>>
incrementing stop

quota_remount_test01    0  TINFO  :  Successfully mounted the File System
quota_remount_test01    0  TINFO  :  Successfully Created Quota Files
quota_remount_test01    0  TINFO  :  Successfully Turned on Quota
quota_remount_test01    0  TINFO  :  Successfully wrote to the filesystem
quota: invalid option -- f
quota: Usage: quota [-guqxvs] [-l | -Q] [-i] [-F quotaformat]
         quota [-qxvs] [-l | -Q] [-i] [-F quotaformat] -u username ...
         quota [-qxvs] [-l | -Q] [-i] [-F quotaformat] -g groupname ...
Bugs to: [email protected], [email protected]
quota_remount_test01    0  TINFO  :  Successfully Remounted Read-Only FS
quota_remount_test01    0  TINFO  :  Successfully Remounted Read-Write FS
quota: invalid option -- f
quota: Usage: quota [-guqxvs] [-l | -Q] [-i] [-F quotaformat]
         quota [-qxvs] [-l | -Q] [-i] [-F quotaformat] -u username ...
         quota [-qxvs] [-l | -Q] [-i] [-F quotaformat] -g groupname ...

Bugs to: [email protected], [email protected]
Usage did not change after remount
quota_remount_test01 1 TFAIL : Quota on Remount Failed
<<<execution_status>>>
initiation_status="ok"
duration=1 termination_type=exited termination_id=1 corefile=no cutime=1 cstime=20
<<<test_end>>>
INFO: ltp-pan reported some tests FAIL
LTP Version: LTP-20100630

Thanks,
-Guru

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

#1 lore raw

See this:

<<<test_start>>>
tag=quota_remount_test01.sh stime=1281970608
cmdline="quota_remount_test01.sh"
contacts=""
analysis=exit
<<<test_output>>>
incrementing stop
quota_remount_test01 0 TINFO : Successfully mounted the File
System

quota_remount_test01    0  TINFO  :  Successfully Created Quota Files
quota_remount_test01    0  TINFO  :  Successfully Turned on Quota
quota_remount_test01    0  TINFO  :  Successfully wrote to the
filesystem
quota_remount_test01    0  TINFO  :  Successfully Remounted Read-Only FS
quota_remount_test01    0  TINFO  :  Successfully Remounted Read-Write

FS
quota_remount_test01 0 TINFO : Usage successfully Changed after
Remount
quota_remount_test01 1 TPASS : Quota on Remount Successfull
<<<execution_status>>>
initiation_status="ok"
duration=1 termination_type=exited termination_id=0 corefile=no cutime=1 cstime=15
<<<test_end>>>
INFO: ltp-pan reported all tests PASS
LTP Version: LTP-20100630

       ###############################################################"
        
            Done executing testcases."
            LTP Version:  LTP-20100630
       ###############################################################"

[root@mustang-lp4 ltp]# uname -a
Linux mustang-lp4.ltc.austin.ibm.com 2.6.33.4-106.fc13.ppc64 #1 SMP Mon

May 24 14:08:08 EDT 2010 ppc64 ppc64 ppc64 GNU/Linux

[root@mustang-lp4 ltp]# cat /etc/issue
Fedora release 13 (Goddard)
Kernel \r on an \m (\l)

Regards--
Subrata

Quoted 41 lines · Gurudas Pai

Hi,

quota_remount_test01.sh test fails.

<<<test_start>>>
tag=quota_remount_test01 stime=1280709472
cmdline="quota_remount_test01.sh"
contacts=""
analysis=exit
<<<test_output>>>
incrementing stop

quota_remount_test01    0  TINFO  :  Successfully mounted the File System
quota_remount_test01    0  TINFO  :  Successfully Created Quota Files
quota_remount_test01    0  TINFO  :  Successfully Turned on Quota
quota_remount_test01    0  TINFO  :  Successfully wrote to the filesystem
quota: invalid option -- f
quota: Usage: quota [-guqxvs] [-l | -Q] [-i] [-F quotaformat]
         quota [-qxvs] [-l | -Q] [-i] [-F quotaformat] -u username ...
         quota [-qxvs] [-l | -Q] [-i] [-F quotaformat] -g groupname ...
Bugs to: [email protected], [email protected]
quota_remount_test01    0  TINFO  :  Successfully Remounted Read-Only FS
quota_remount_test01    0  TINFO  :  Successfully Remounted Read-Write FS
quota: invalid option -- f
quota: Usage: quota [-guqxvs] [-l | -Q] [-i] [-F quotaformat]
         quota [-qxvs] [-l | -Q] [-i] [-F quotaformat] -u username ...
         quota [-qxvs] [-l | -Q] [-i] [-F quotaformat] -g groupname ...

Bugs to: [email protected], [email protected]
Usage did not change after remount
quota_remount_test01 1 TFAIL : Quota on Remount Failed
<<<execution_status>>>
initiation_status="ok"
duration=1 termination_type=exited termination_id=1 corefile=no cutime=1 cstime=20
<<<test_end>>>
INFO: ltp-pan reported some tests FAIL
LTP Version: LTP-20100630

Thanks,
-Guru

Quoted 9 lines

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

------------------------------------------------------------------------------
This SF.net email is sponsored by

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

#2 lore raw
In reply to Gurudas Pai
Quoted 28 lines · Gurudas Pai

Hi,

quota_remount_test01.sh test fails.

<<<test_start>>>
tag=quota_remount_test01 stime=1280709472 cmdline="quota_remount_test01.sh"
contacts=""
analysis=exit
<<<test_output>>>
incrementing stop
quota_remount_test01    0  TINFO  :  Successfully mounted the File System quota_remount_test01    0  TINFO  :  Successfully Created Quota Files quota_remount_test01    0  TINFO  :  Successfully Turned on Quota quota_remount_test01    0  TINFO  :  Successfully wrote to the filesystem
quota: invalid option -- f
quota: Usage: quota [-guqxvs] [-l | -Q] [-i] [-F quotaformat] quota [-qxvs] [-l | -Q] [-i] [-F quotaformat] -u username ... quota [-qxvs] [-l | -Q] [-i] [-F quotaformat] -g groupname ... Bugs to: [email protected], [email protected] quota_remount_test01    0  TINFO  :  Successfully Remounted Read-Only FS quota_remount_test01    0  TINFO  :  Successfully Remounted Read-Write FS
quota: invalid option -- f
quota: Usage: quota [-guqxvs] [-l | -Q] [-i] [-F quotaformat] quota [-qxvs] [-l | -Q] [-i] [-F quotaformat] -u username ... quota [-qxvs] [-l | -Q] [-i] [-F quotaformat] -g groupname ... Bugs to: [email protected], [email protected]
Usage did not change after remount

Quoted 8 lines

quota_remount_test01    1  TFAIL  :  Quota on Remount Failed <<<execution_status>>>
initiation_status="ok"
duration=1 termination_type=exited termination_id=1 corefile=no cutime=1 cstime=20
<<<test_end>>>
INFO: ltp-pan reported some tests FAIL
LTP Version: LTP-20100630

What Linux distro and what version of whatever package that quota comes with (might be coreutils*, but Linux keeps on playing musical chairs with the applications and it varies from distro to distro)?

From what I see above, maybe your distro should just fix the command to be BSD compatible like most other distros have done; -f corresponds to:

-f path
Only display quota information for the file system that contains the specified path. This can be any file within a mounted file system.

Otherwise the test is going to become unnecessarily complicated.

-Garrett

------------------------------------------------------------------------------
This SF.net email is sponsored by

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

#3 lore raw
Quoted 14 lines · Garrett Cooper
Quoted 4 lines · Gurudas Pai

Hi,

quota_remount_test01.sh test fails.

What Linux distro and what version of whatever package that quota comes with (might be coreutils*, but Linux keeps on playing musical chairs with the applications and it varies from distro to distro)?

From what I see above, maybe your distro should just fix the command to be BSD compatible like most other distros have done; -f corresponds to:

Quoted 8 lines

-f path
Only display quota information for the file system that contains the specified path. This can be any file within a mounted file system.

Otherwise the test is going to become unnecessarily complicated.

-Garrett

quota "-f" and "-w" are not supported in quota-3.13-1.2.5.el5 which I was using, upgraded it to 3.14 and it worked well, test passed !

@ Changes in quota-tools from 3.13 to 3.14
@ ...
@ * quota(1) has -f option to specify filesystem list (Jan Kara) @ ...
@ * quota(1) has -w option to supress line wrapping for long device names (Jan
@ Kara)

Thank you Subrata, Garret for your time and effort.

Best Regards,
-Guru

------------------------------------------------------------------------------
This SF.net email is sponsored by

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list