From 3d63ce78945b78838f471e7d1e7ec5fbce8d540f Mon Sep 17 00:00:00 2001 From: fabian Date: Wed, 23 Oct 2024 17:13:07 +0200 Subject: [PATCH] fix bat tests for real --- tests/bats/run_bats.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/bats/run_bats.sh b/tests/bats/run_bats.sh index 701470cab..c6eb69582 100755 --- a/tests/bats/run_bats.sh +++ b/tests/bats/run_bats.sh @@ -6,10 +6,11 @@ set -eu -gallia script vecu --no-volatile-info rng "unix-lines:///tmp/vecu.sock" \ +gallia script vecu rng "unix-lines:///tmp/vecu.sock" \ + --no-volatile-info \ --seed 3 \ - --mandatory_sessions "1 2 3" \ - --mandatory_services "DiagnosticSessionControl EcuReset ReadDataByIdentifier WriteDataByIdentifier RoutineControl SecurityAccess ReadMemoryByAddress WriteMemoryByAddress RequestDownload RequestUpload TesterPresent ReadDTCInformation ClearDiagnosticInformation InputOutputControlByIdentifier" 2>vecu.log & + --mandatory-sessions 1 2 3 \ + --mandatory-services DiagnosticSessionControl EcuReset ReadDataByIdentifier WriteDataByIdentifier RoutineControl SecurityAccess ReadMemoryByAddress WriteMemoryByAddress RequestDownload RequestUpload TesterPresent ReadDTCInformation ClearDiagnosticInformation InputOutputControlByIdentifier # https://superuser.com/a/553236 trap 'kill "$(jobs -p)"' SIGINT SIGTERM EXIT