From 6eab1c1608d8838548f0c918e1ad96ee907bfd3d Mon Sep 17 00:00:00 2001 From: Liang Yan Date: Tue, 29 Oct 2019 09:05:10 +0800 Subject: [PATCH] test/nvme: disable startup test for FreeBSD The startup tool needs more than 1s to finish in FreeBSD OS. So disable this test for FreeBSD. Change-Id: Ibd59cb7d8ed4e27b5df5171888676be9bc37fa8a Signed-off-by: Liang Yan Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/472660 Tested-by: SPDK CI Jenkins Reviewed-by: yidong0635 Reviewed-by: Shuhei Matsumoto Reviewed-by: Jim Harris --- test/nvme/nvme.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/test/nvme/nvme.sh b/test/nvme/nvme.sh index fba975214..6503c4520 100755 --- a/test/nvme/nvme.sh +++ b/test/nvme/nvme.sh @@ -117,9 +117,11 @@ timing_enter err_injection $testdir/err_injection/err_injection timing_exit err_injection -timing_enter startup -$testdir/startup/startup -t 1000000 -timing_exit startup +if [ $(uname) != "FreeBSD" ]; then + timing_enter startup + $testdir/startup/startup -t 1000000 + timing_exit startup +fi timing_enter overhead $testdir/overhead/overhead -s 4096 -t 1 -H