Open chetjain opened 4 years ago
I was able to test after changing those files under runtest folder. It was picking new directory successfully with runltp -d. Let me know, if I can submit the fix
Created a pull request https://github.com/linux-test-project/ltp/pull/692
Currently runltp -d cannot be leveraged with the following testsuites.
(1) fcntl-locktests PATH name is hardcoded in runtest and TMPDIR path is not getting picked FCNTL_LOCKTESTS locktests -n 100 -f /tmp/io_0/fcntl_locktest_testfile Change this to FCNTL_LOCKTESTS locktests -n 100 -f $TMPDIR/fcntl_locktest_testfile for all lines
(2) scsi_debug.part1 /test/growfiles should be replaced by $TMPDIR %s/\/test\/growfiles/\$TMPDIR
(3) lvm.part1 & (4) lvm.part2 %s/\/test\/growfiles/\$TMPDIR/g