Commit Graph

136 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
Christian Kujau 3ba1b10a87 don't fail if nslookup is not found
When nslookup is not available, execution would stop. This patch moves the
check for nslookup and the _get_fqdn function into the ./new script (since
this is the only place where it's used) and we don't fail any more but try
to find out our FQDN without nslookup.

Signed-off-by: Christian Kujau <lists@nerdbynature.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2009-07-20 11:31:39 +02:00
Christoph Hellwig 270317db89 small common.config cleanup
Don't list various non-mandatory options near the check for the
mandatory ones, and make the test for the mandatory ones a proper if
statements.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Eric Sandeen <sandeen@sandeen.net>
2009-07-07 16:22:36 +02:00
Theodore Ts'o 83f15ee79b fix common.config to allow SCRATCH_DEV and SCRATCH_MNT to be optional
Commit 3ae9f2f8 purports to allow SCRATCH_DEV and SCRATCH_MNT to be
optional, but tests in common.config will cause check to exit with an
error if these environment variables are not defined.  Fix this problem.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2009-06-20 19:14:14 +02: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
Dave Chinner 80b2c990d0 xfsqa 165 - fails if environment LANG != C
Merge of master-melb:xfs-cmds:30992a by kenmcd.

  export the language that all tests will run under to prevent
  language settings from affecting test output and giving
  spurious failures when comparing against golden output.
2008-04-28 06:25:22 +00:00
Tim Shimmin 89c6e8060f add dump/restore paths to xfstests/common.dump and set up path for bc
Merge of master-melb:xfs-cmds:30712a by kenmcd.

  add dump/restore paths to xfstests/common.dump and set up path for bc
2008-03-26 03:28:24 +00:00
Barry Naujok 1d368392c1 Add xfsprogs version number as environment variable for QA
Merge of master-melb:xfs-cmds:30672a by kenmcd.

  Add xfsprogs version number as environment variable for QA
2008-03-14 03:18:10 +00:00
Niv Sardi ca74d86f8f source /etc/xfsqa.config
This is used by uml.sh script to generate proper per-generic machine configs for xfsqa
Merge of master-melb:xfs-cmds:30294a by kenmcd.
2008-01-03 05:16:17 +00:00
Niv Sardi 5968a7eaad XFSQA cleanup, add per host config files.
This patche adds a new file in ./configs for each host that was
    in the monolithic (ugly) common.config file.

    the files have been auto-generated and might contain some quircks.

    The in-source documentation has been updated as well.
Merge of master-melb:xfs-cmds:30293a by kenmcd.
2008-01-03 05:15:27 +00:00
leenap.longdrop.melbourne.sgi.com abad7aaf5d Added config for new mahcine
Merge of master-melb:xfs-cmds:30168a by kenmcd.

  added config for new machine
2007-11-30 15:08:55 +00:00
leenap.longdrop.melbourne.sgi.com a2536be3f7 -
Merge of master-melb:xfs-cmds:29795a by kenmcd.

  -
2007-09-27 06:19:27 +00:00
leenap.longdrop.melbourne.sgi.com d0c8f36333 -
Merge of master-melb:xfs-cmds:29793a by kenmcd.

  -
2007-09-27 06:18:42 +00:00
leenap.longdrop.melbourne.sgi.com bf8bbce823 added description for ha fs resource
Merge of master-melb:xfs-cmds:29792a by kenmcd.
2007-09-27 06:17:56 +00:00
Lachlan McIlroy e222ca096a Add test system 'mallet'.
Merge of master-melb:xfs-cmds:29732a by kenmcd.

  Add test system 'mallet'.
2007-09-20 16:19:18 +00:00
fergalh.longdrop.melbourne.sgi.com 470231c3b9 change scratch fs to xfs_scratch
Merge of master-melb:xfs-cmds:29591a by kenmcd.

  change scratch fs to xfs_scratch
2007-09-04 06:10:30 +00:00
fergalh.longdrop.melbourne.sgi.com e0873ecaf6 upddate rizzo1
Merge of master-melb:xfs-cmds:29536a by kenmcd.

  update rizzo1
2007-08-28 16:04:24 +00:00
fergalh.longdrop.melbourne.sgi.com 34ca53b51f changes gonzo1 variables
set scratch fs to 'scratch' from 'xfs_scratch'
Merge of master-melb:xfs-cmds:29527a by kenmcd.

  set scratch fs to 'scratch' from 'xfs_scratch'
2007-08-28 06:09:52 +00:00
Mohamed Barwani e3c14d1640 Modify know hosts (kermit1, gonzo1).
Merge of master-melb:xfs-cmds:29523a by kenmcd.

  Modify know hosts (kermit1, gonzo1).
2007-08-28 04:10:16 +00:00
Lachlan McIlroy 53a2bd6253 Test that fsync/sync force file size changes to disk.
Merge of master-melb:xfs-cmds:29441a by kenmcd.

  Test that fsync forces file size changes to disk.
2007-08-20 06:19:41 +00:00
Lachlan McIlroy faf7cf20e1 Modify dassi QA scratch device
Merge of master-melb:xfs-cmds:29356a by kenmcd.

  Modify dassi QA scratch device
2007-08-09 04:10:08 +00:00
Mohamed Barwani 6609e351bd modify galah machine configuration.
Merge of master-melb:xfs-cmds:29336a by kenmcd.

  add log devices.
2007-08-06 04:01:50 +00:00
David Disseldorp f2f5c7b9be change galah QA devs & scratch mount point
Merge of master-melb:xfs-cmds:29001a by kenmcd.
2007-06-27 04:06:04 +00:00