From 5710833147b18a8fd91d705a721c188b0366b443 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Thu, 3 May 2012 08:48:43 +0000 Subject: [PATCH] ib_srpt, Testing.txt: Minor corrections git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4275 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- srpt/Testing.txt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/srpt/Testing.txt b/srpt/Testing.txt index 274c6e4c6..1d430c104 100644 --- a/srpt/Testing.txt +++ b/srpt/Testing.txt @@ -6,7 +6,7 @@ At least the following tests must be run before releasing a new SRPT version: * Make sure that SRPT compiles and installs without triggering any compiler warning. Use the following command to compile and install SRPT: - for d in scst srpt; do make -C $d -s clean && make -C $d -s install; done + for d in scst srpt; do make -sC $d clean && make -sC $d install; done * Verify the output of run-regression-tests for kernel versions starting at 2.6.23 up to and including the latest released kernel. @@ -22,7 +22,9 @@ At least the following tests must be run before releasing a new SRPT version: ${SCST_TRUNK}/scripts/monitor-memory-usage | tee memlog.txt * Run the following command on the initiator system: target_id="$(/usr/sbin/ibsrpdm -c -d /dev/infiniband/umad0)" - for ((i=0;i<100000;i++)); do echo "$target_id" >/sys/class/infiniband_srp/srp-mlx4_0-1/add_target; done + for ((i=0;i<100000;i++)); do + echo "$target_id" >/sys/class/infiniband_srp/srp-mlx4_0-1/add_target + done * Verify that the following I/O stress test does not report any errors even when left running for several hours: @@ -89,7 +91,7 @@ Index: srpt/src/ib_srpt.c * Log in twice from an initiator system, and verify that the first session receives a DREQ upon the second login: - target_id="$(/usr/sbin/ibsrpdm -c -d /dev/infiniband/umad0)" + target_id="$(/usr/sbin/ibsrpdm -c -d /dev/infiniband/umad0 | head -n1)" dmesg -c echo "${target_id}" > /sys/class/infiniband_srp/srp-mlx4_0-1/add_target dmesg -c