xfs
[Top] [All Lists]

stress scripts patches

To: linux-xfs@xxxxxxxxxxx
Subject: stress scripts patches
From: "Marcelo E. Magallon" <marcelo.magallon@xxxxxxxxxxx>
Date: Tue, 31 Oct 2000 20:21:11 +0100
Sender: owner-linux-xfs@xxxxxxxxxxx
User-agent: Mutt/1.1.14i
Hi,

    attached is a patch for the stress test scripts.  The first one (002)
 works arround a bug in bash (in case /bin/sh is bash) where it doesn't
 discard trailing whitespace when comparing two numbers.  lstat64 will
 always output a line containing "Links:", so $x should never be empty.

 The second one (004) adds a "_require_scratch" to the test, otherwise
 it fails when run as patch of a batch because the scratch partition is
 still mounted from the previous test.

 The last one was the product of me trying to figure out if a failure
 (see other email) was because of the script or a real failure.  It just
 moves the RESTORE_DIR and RESTORE_SUBDIR (this one is not really
 needed) to the top of the substitution list, otherwise you end up with
 something like "SCRATCH_MNT/some/random/directory".

 Thanks,

--
Marcelo

Attachment: stress.patch
Description: Text document

<Prev in Thread] Current Thread [Next in Thread>