From f21448cfbc08ddaf81c8fa3e9a3ff271b5fbb19f Mon Sep 17 00:00:00 2001 From: Jim Harris Date: Tue, 23 May 2017 14:29:22 -0700 Subject: [PATCH] test/iscsi: do not rsync dpdk directory for ext4test This test sets DPDK_DIR to the main repository so does not build DPDK on the mounted iSCSI LUN. So don't bother copying the dpdk subdirectory to the iSCSI LUN which saves a few seconds for every test run. Signed-off-by: Jim Harris Change-Id: Ieb04f94b7955acbafb283638531ad076afbf2302 Reviewed-on: https://review.gerrithub.io/362268 Tested-by: SPDK Automated Test System Reviewed-by: Ben Walker --- test/iscsi_tgt/ext4test/ext4test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/iscsi_tgt/ext4test/ext4test.sh b/test/iscsi_tgt/ext4test/ext4test.sh index 8e22e69aa6..47b6aa0200 100755 --- a/test/iscsi_tgt/ext4test/ext4test.sh +++ b/test/iscsi_tgt/ext4test/ext4test.sh @@ -95,7 +95,7 @@ for dev in $devs; do mkdir -p /mnt/${dev}dir mount -o sync /dev/$dev /mnt/${dev}dir - rsync -qav --exclude=".git" $rootdir/ /mnt/${dev}dir/spdk + rsync -qav --exclude=".git" --exclude="dpdk" $rootdir/ /mnt/${dev}dir/spdk make -C /mnt/${dev}dir/spdk DPDK_DIR=$DPDK_DIR clean make -C /mnt/${dev}dir/spdk DPDK_DIR=$DPDK_DIR -j16