[PATCH v3 6/7] tests: fix $dir path

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Sudhakar Panneerselvam <sudhakar.panneerselvam@xxxxxxxxxx>

Some of the test cases use $dir to refer to the location of mdadm and
other test binaries. But $dir was never initialized anywhere in the test
sequence.

Signed-off-by: Sudhakar Panneerselvam <sudhakar.panneerselvam@xxxxxxxxxx>
Signed-off-by: Himanshu Madhani <himanshu.madhani@xxxxxxxxxx>
---
 test | 1 +
 1 file changed, 1 insertion(+)

diff --git a/test b/test
index 711a3c7a2076..91b0a98d593c 100755
--- a/test
+++ b/test
@@ -6,6 +6,7 @@ targetdir="/var/tmp"
 logdir="$targetdir"
 config=/tmp/mdadm.conf
 testdir=$PWD/tests
+dir=$PWD
 devlist=
 
 savelogs=0
-- 
2.27.0




[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux