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 <francis.deslauriers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: If7da3974a6e03817533f650790e0431346401db5
source $TESTDIR/utils/utils.sh
source $TESTDIR/utils/utils.sh
start_test_app
second_app_pid=$LAST_APP_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"
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"
# Stop first test application and check for cleanup
stop_test_app "$first_app_pid"