Whamcloud - gitweb
ATM-1754 tests: skip f_large_dir on RHEL6
authorAndreas Dilger <adilger@whamcloud.com>
Fri, 25 Sep 2020 02:52:03 +0000 (20:52 -0600)
committerAndreas Dilger <adilger@whamcloud.com>
Thu, 15 Dec 2022 18:49:57 +0000 (11:49 -0700)
Skip f_large_dir test on RHEL6 since it runs very slowly, and
has enough coverage on other branches.

Change-Id: I7e001f734d84fc7927bed1da861a33283577d490
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/40042
Reviewed-by: Wang Shilong <wshilong@whamcloud.com>
tests/f_large_dir/script

index 5c88fc3..2ac8182 100644 (file)
@@ -8,6 +8,11 @@ if [ "`uname -m`" = "aarch64" ]; then
        return 0
 fi
 
+if grep -q 'release 6' /etc/redhat-release 2> /dev/null; then
+       echo "$test_name: $test_description: skipped (slow on EL6)"
+       return 0
+fi
+
 NAMELEN=255
 DIRENT_SZ=8
 BLOCKSZ=1024