]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
074 takes ages to complete on my kvm test VM, but scaling it back to the
authorNiv Sardi <xaiki@sgi.com>
Wed, 4 Jun 2008 04:25:32 +0000 (04:25 +0000)
committerNiv Sardi <xaiki@sgi.com>
Wed, 4 Jun 2008 04:25:32 +0000 (04:25 +0000)
level used on IRIX makes it complete in slightly under 10 minutes.

I'm not sure if checking for UP vs SMP is the right way to go into slow
mode, but I couldn't think of anything better.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of master-melb:xfs-cmds:31272a by kenmcd.

074

diff --git a/074 b/074
index 8165d745f65f66d4d84dff00b7f87599c4de04f4..d5e0364013e67da509d78b6087ef7829dddccde1 100755 (executable)
--- a/074
+++ b/074
@@ -120,10 +120,17 @@ if [ $HOSTOS == "IRIX" ]; then
         param_type="IRIX nondebug"
     fi
 elif [ $HOSTOS == "Linux" ]; then
-    numloops=10
-    numfiles=5
-    numchildren=3
-    param_type="Linux"
+    if uname -a | grep -q SMP; then
+        numloops=10
+        numfiles=5
+        numchildren=3
+        param_type="Linux SMP"
+    else
+        numloops=2
+        numfiles=3
+        numchildren=3
+        param_type="Linux UP"
+    fi
 else
     numloops=1
     numfiles=1