From 6d7eda03355dc641bfb0c40e849df3d29c5088f8 Mon Sep 17 00:00:00 2001 From: Sebastien Buisson Date: Thu, 7 Oct 2021 17:23:05 +0200 Subject: [PATCH] LU-15064 tests: sanity-sec test_58 must read its own dir sanity-sec test_58 should restrict file listing to its own directory, and not try to list content of the entire Lustre tree. This is useless for the purpose of the test, and exposes to unclean remnants from previous tests. Test-Parameters: trivial Test-Parameters: testlist=sanity-sec env=ONLY=58 Fixes: 1faf54e8bf ("LU-14989 sec: access to enc file's xattrs") Signed-off-by: Sebastien Buisson Change-Id: Ic9ab0860da0ab86355a207ad9d50feb3975adf68 --- lustre/tests/sanity-sec.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/tests/sanity-sec.sh b/lustre/tests/sanity-sec.sh index 8663aac..7affdbc 100755 --- a/lustre/tests/sanity-sec.sh +++ b/lustre/tests/sanity-sec.sh @@ -4355,7 +4355,7 @@ test_58() { echo 3 > /proc/sys/vm/drop_caches sleep 10 - ls -ailR $MOUNT > /dev/null || error "fail to ls" + ls -ailR $DIR/$tdir > /dev/null || error "fail to ls" } run_test 58 "access to enc file's xattrs" -- 1.8.3.1