From 5241d717a24bfe422eaac59284fd4fa0d50e1bb2 Mon Sep 17 00:00:00 2001 From: Francis Deslauriers Date: Thu, 27 May 2021 12:53:12 -0400 Subject: [PATCH] Tests: crash: remove redundant directory test MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The presence of the `$shm_session_path/ust/pid` path is already tested a few line above. No need to test it again. Signed-off-by: Francis Deslauriers Signed-off-by: Jérémie Galarneau Change-Id: If7da3974a6e03817533f650790e0431346401db5 --- tests/regression/tools/crash/test_crash | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/regression/tools/crash/test_crash b/tests/regression/tools/crash/test_crash index 73e1e4f69..8201c56bc 100755 --- a/tests/regression/tools/crash/test_crash +++ b/tests/regression/tools/crash/test_crash @@ -23,7 +23,7 @@ OUTPUT_DIR=$(mktemp -d --tmpdir tmp.test_crash_shm.XXXXXX) LAST_APP_PID= -NUM_TESTS=77 +NUM_TESTS=76 source $TESTDIR/utils/utils.sh @@ -136,12 +136,10 @@ function test_shm_path_per_pid() start_test_app second_app_pid=$LAST_APP_PID - second_pid_path=$(find $shm_session_path/ust/pid -mindepth 1 -maxdepth 1) - ok $? "Pid path exist found $second_pid_path" file_count=$(find $shm_session_path/ust/pid -mindepth 1 -maxdepth 1 | wc -l) test $file_count -eq "2" - ok $? "Expect 2 pid registration folder got $file_count" + ok $? "Expect 2 pid registration folders got $file_count" # Stop first test application and check for cleanup stop_test_app "$first_app_pid" -- 2.34.1