[LTP] [PATCH 2/2] nfs10.sh: Remove fixed loop count from fsplough command
Martin Doucha
mdoucha@suse.cz
Tue Feb 11 13:23:50 CET 2025
The fsplough test now runs for 30 seconds by default. Remove the fixed
number of loops from the NFS variant and use the safer default behavior.
Signed-off-by: Martin Doucha <mdoucha@suse.cz>
---
testcases/network/nfs/nfs_stress/nfs10.sh | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/testcases/network/nfs/nfs_stress/nfs10.sh b/testcases/network/nfs/nfs_stress/nfs10.sh
index 17fb4e866..e52db8e29 100755
--- a/testcases/network/nfs/nfs_stress/nfs10.sh
+++ b/testcases/network/nfs/nfs_stress/nfs10.sh
@@ -25,25 +25,25 @@ nfs10_setup()
do_test1()
{
tst_res TINFO "Testing buffered write, buffered read"
- EXPECT_PASS fsplough -c 512 -d "$PWD"
+ EXPECT_PASS fsplough -d "$PWD"
}
do_test2()
{
tst_res TINFO "Testing buffered write, direct read"
- EXPECT_PASS fsplough -c 512 -R -d "$PWD"
+ EXPECT_PASS fsplough -R -d "$PWD"
}
do_test3()
{
tst_res TINFO "Testing direct write, buffered read"
- EXPECT_PASS fsplough -c 512 -W -d "$PWD"
+ EXPECT_PASS fsplough -W -d "$PWD"
}
do_test4()
{
tst_res TINFO "Testing direct write, direct read"
- EXPECT_PASS fsplough -c 512 -RW -d "$PWD"
+ EXPECT_PASS fsplough -RW -d "$PWD"
}
. nfs_lib.sh
--
2.47.0
More information about the ltp
mailing list