Commit Graph

35 Commits

Author SHA1 Message Date
Dave Chinner 771e69de67 xfstests: Convert all tests to use /bin/bash
While most tests use /bin/sh, they are dependent on /bin/sh being a
bash shell.  Convert all the tests to execute via /bin/bash as it is
much, much simpler than trying to debug and remove all the bashisms
throughout the test code.

Signed-off-by: Dave Chinner <david@fromorbit.com>
Reviewed-by: Eric Sandeen <sandeen@sandeen.net>
2010-01-20 10:27:08 +11:00
Eric Sandeen f07531f876 Split out xfs & generic quota existence tests
Make a new test to test for generic quota tools, for
generic filesystem testing.  Move the existing quota test
to a new "xfs" name.

Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Reviewed-by: Lachlan McIlroy <lmcilroy@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
2009-08-10 13:18:50 -05:00
Felix Blyakher 491d467f3c Add GPL license plate to SGI's files.
Signed-off-by: Felix Blyakher <felixb@sgi.com>
Reviewed-by: Eric Sandeen <sandeen@sandeen.net>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Felix Blyakher <felixb@sgi.com>
2009-06-05 15:41:14 -05:00
Eric Sandeen 7c75dff3dd Revert "patch more_set_prog_path"
This reverts commit b2fcff900d.

This snuck in unintentionally due to my weak git-fu,
and was breaking things.
2009-04-23 12:42:32 -05:00
Eric Sandeen b2fcff900d patch more_set_prog_path 2009-04-19 15:48:48 -05:00
Brad Scarlett 286a747ccd XFS Quota tests were unaware of usrquota and grpquota mount options
Merge of master-melb:xfs-cmds:32619a by kenmcd.

  Fix 134 so it is notrun if grpquota mount option is detected.
2008-12-02 04:56:16 +00:00
Tim Shimmin ef8b8fcc0d Put _qmount_option into common.quota for other quota tests to use.
Merge of master-melb:xfs-cmds:28443a by kenmcd.

  Put _qmount_option into common.quota for other quota tests to use.
2007-04-20 03:58:19 +00:00
Nathan Scott b4856f64fe Fix shell scripting botch wrt empty variable handling.
Merge of master-melb:xfs-cmds:26814a by kenmcd.
2006-08-18 15:40:32 +00:00
Nathan Scott 50031179a1 Fix the file_as_id routine so it works for test 050.
Merge of master-melb:xfs-cmds:26811a by kenmcd.
2006-08-18 06:13:04 +00:00
Nathan Scott cce5a421c8 Dont hard code paths ni test 050, and fix common.quota macros on Debian setups.
Merge of master-melb:xfs-cmds:26021a by kenmcd.
2006-05-25 06:13:27 +00:00
Allan Randall 5b783b2e44 Test 050 modified to test all quota mount options in single run
Merge of master-melb:xfs-cmds:25962a by kenmcd.

  Modified to test all quota mount options in single run
2006-05-18 15:48:26 +00:00
Nathan Scott 9013897f9f Update quota tests to work with project quota (and xfs_quota).
Merge of master-melb:xfs-cmds:24813a by kenmcd.
2005-12-14 05:04:52 +00:00
Nathan Scott d259454b19 Update copyright annotations and license boilerplates to correspond with SGI Legals preferences.
Merge of master-melb:xfs-cmds:24329a by kenmcd.
2005-11-09 02:50:19 +00:00
Andrew Jones 220756b0f3 quota and vfat fixes.
Merge of master-melb:xfs-cmds:23117a by kenmcd.

  Added fixed block size for vfat filesystems. Required because mkfs.vfat fails after the super-block is wiped.
2005-07-08 15:05:17 +00:00
Nathan Scott e52c143e3c Add three additional quota tests - 106/107/108.
Merge of master-melb:xfs-cmds:22775a by kenmcd.
2005-06-02 06:02:53 +00:00
Nathan Scott 2619dd6036 Drop 113 from auto group until AIO issue resolved, add missed quota test update.
Merge of master-melb:xfs-cmds:22100a by kenmcd.
2005-04-08 03:51:40 +00:00
Nathan Scott 0145d1c7e4 Fix quota tests correctly to run on SuSE.
Merge of xfs-cmds-melb:slinx:20073a by kenmcd.
2004-11-10 13:49:16 +00:00
Tim Shimmin 59aeee9183 get quota stuff working on IRIX as well as Linux 2004-07-30 05:28:14 +00:00
Tim Shimmin e00912e469 Modify log/v2-log qa tests to run on IRIX as well as Linux.
Cater for IRIX without unmount record at start of log and for
IRIX' hopeless mount option handling.
2004-06-21 04:53:35 +00:00
Dean Roehrich 496086eaaf Fix some regexps in xfstests
Fix regexp for xvm devices
2004-01-06 18:44:26 +00:00
fsgqa 8050efd492 Numerous changes to QA scripts allowing tests to run with external log/rt devices; also allow multiple mkfs/mount options at once now. 2003-05-22 04:16:45 +00:00
Nathan Straz 0cac704bdf 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.
2003-05-20 23:51:40 +00:00
Eric Sandeen 3ef12e3824 Update copyright dates (again) 2002-06-04 23:07:56 +00:00
Eric Sandeen bc4eb461ae Undoes mod: xfs-cmds:slinx:120772a
Undo xfs-cmds:slinx:120772a, inadvertently whacked a previous mod.
2002-06-04 22:53:09 +00:00
Eric Sandeen 8ce73f8626 Update copyright dates 2002-06-04 17:58:21 +00:00