psasim: Move file clean-up to all.sh

Signed-off-by: Ronald Cron <ronald.cron@arm.com>
This commit is contained in:
Ronald Cron 2024-07-22 11:51:02 +02:00
parent 594ab41893
commit e0e26f7d8e
2 changed files with 5 additions and 5 deletions

View File

@ -7,11 +7,6 @@ set -e
pkill psa_server || true
# Remove temporary files and logs
rm -f psa_notify_*
rm -f psa_service_*
rm -f psa_server.log
# Remove all IPCs
# Not just ipcrm -all=msg as it is not supported on macOS.
# Filter out header and empty lines, choosing to select based on keys being

View File

@ -1106,6 +1106,11 @@ helper_psasim_server() {
cd tests
msg "terminate server and cleanup"
psa-client-server/psasim//test/kill_server.sh
# Remove temporary files and logs
rm -f psa_notify_*
rm -f psa_service_*
rm -f psa_server.log
)
fi
}