Skip to content

Commit 5674669

Browse files
aescolarPavelVPV
authored andcommitted
[nrf fromtree] tests/bsim/bluetooth/host/att: Enable RealEncryption
Let's run tests with security/privacy with the HW models acutually running the encryptions, so in case of missaligned keys tests fail. Signed-off-by: Alberto Escolar Piedras <[email protected]> (cherry picked from commit 53adf2c)
1 parent 8411e6a commit 5674669

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

tests/bsim/bluetooth/host/att/eatt/tests_scripts/autoconnect.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ EXECUTE_TIMEOUT=120
1111
cd ${BSIM_OUT_PATH}/bin
1212

1313
Execute ./bs_${BOARD_TS}_tests_bsim_bluetooth_host_att_eatt_prj_autoconnect_conf \
14-
-v=${verbosity_level} -s=${simulation_id} -d=0 -testid=central_autoconnect
14+
-v=${verbosity_level} -s=${simulation_id} -d=0 -testid=central_autoconnect -RealEncryption=1
1515

1616
Execute ./bs_${BOARD_TS}_tests_bsim_bluetooth_host_att_eatt_prj_autoconnect_conf \
17-
-v=${verbosity_level} -s=${simulation_id} -d=1 -testid=peripheral_autoconnect
17+
-v=${verbosity_level} -s=${simulation_id} -d=1 -testid=peripheral_autoconnect -RealEncryption=1
1818

1919
Execute ./bs_2G4_phy_v1 -v=${verbosity_level} -s=${simulation_id} \
2020
-D=2 -sim_length=200e6 $@

tests/bsim/bluetooth/host/att/eatt/tests_scripts/collision.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ EXECUTE_TIMEOUT=120
1111
cd ${BSIM_OUT_PATH}/bin
1212

1313
Execute ./bs_${BOARD_TS}_tests_bsim_bluetooth_host_att_eatt_prj_collision_conf \
14-
-v=${verbosity_level} -s=${simulation_id} -d=0 -testid=central
14+
-v=${verbosity_level} -s=${simulation_id} -d=0 -testid=central -RealEncryption=1
1515

1616
Execute ./bs_${BOARD_TS}_tests_bsim_bluetooth_host_att_eatt_prj_collision_conf \
17-
-v=${verbosity_level} -s=${simulation_id} -d=1 -testid=peripheral
17+
-v=${verbosity_level} -s=${simulation_id} -d=1 -testid=peripheral -RealEncryption=1
1818

1919
Execute ./bs_2G4_phy_v1 -v=${verbosity_level} -s=${simulation_id} \
2020
-D=2 -sim_length=200e6 $@

tests/bsim/bluetooth/host/att/eatt/tests_scripts/lowres.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ verbosity_level=2
1010
cd ${BSIM_OUT_PATH}/bin
1111

1212
Execute ./bs_${BOARD_TS}_tests_bsim_bluetooth_host_att_eatt_prj_autoconnect_conf \
13-
-v=${verbosity_level} -s=${simulation_id} -d=0 -testid=central_lowres
13+
-v=${verbosity_level} -s=${simulation_id} -d=0 -testid=central_lowres -RealEncryption=1
1414

1515
Execute ./bs_${BOARD_TS}_tests_bsim_bluetooth_host_att_eatt_prj_lowres_conf \
16-
-v=${verbosity_level} -s=${simulation_id} -d=1 -testid=peripheral_lowres
16+
-v=${verbosity_level} -s=${simulation_id} -d=1 -testid=peripheral_lowres -RealEncryption=1
1717

1818
Execute ./bs_2G4_phy_v1 -v=${verbosity_level} -s=${simulation_id} \
1919
-D=2 -sim_length=200e6 $@

tests/bsim/bluetooth/host/att/eatt/tests_scripts/multiple_conn.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ EXECUTE_TIMEOUT=120
1111
cd ${BSIM_OUT_PATH}/bin
1212

1313
Execute ./bs_${BOARD_TS}_tests_bsim_bluetooth_host_att_eatt_prj_multiple_conn_conf \
14-
-v=${verbosity_level} -s=${simulation_id} -d=0 -testid=central
14+
-v=${verbosity_level} -s=${simulation_id} -d=0 -testid=central -RealEncryption=1
1515

1616
Execute ./bs_${BOARD_TS}_tests_bsim_bluetooth_host_att_eatt_prj_multiple_conn_conf \
17-
-v=${verbosity_level} -s=${simulation_id} -d=1 -testid=peripheral
17+
-v=${verbosity_level} -s=${simulation_id} -d=1 -testid=peripheral -RealEncryption=1
1818

1919
Execute ./bs_2G4_phy_v1 -v=${verbosity_level} -s=${simulation_id} \
2020
-D=2 -sim_length=200e6 $@

tests/bsim/bluetooth/host/att/eatt/tests_scripts/reconfigure.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ EXECUTE_TIMEOUT=120
1111
cd ${BSIM_OUT_PATH}/bin
1212

1313
Execute ./bs_${BOARD_TS}_tests_bsim_bluetooth_host_att_eatt_prj_autoconnect_conf \
14-
-v=${verbosity_level} -s=${simulation_id} -d=0 -testid=central_reconfigure
14+
-v=${verbosity_level} -s=${simulation_id} -d=0 -testid=central_reconfigure -RealEncryption=1
1515

1616
Execute ./bs_${BOARD_TS}_tests_bsim_bluetooth_host_att_eatt_prj_autoconnect_conf \
17-
-v=${verbosity_level} -s=${simulation_id} -d=1 -testid=peripheral_reconfigure
17+
-v=${verbosity_level} -s=${simulation_id} -d=1 -testid=peripheral_reconfigure -RealEncryption=1
1818

1919
Execute ./bs_2G4_phy_v1 -v=${verbosity_level} -s=${simulation_id} \
2020
-D=2 -sim_length=60e6 $@

tests/bsim/bluetooth/host/att/eatt_notif/test_scripts/eatt_notif.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ EXECUTE_TIMEOUT=120
1313
cd ${BSIM_OUT_PATH}/bin
1414

1515
Execute ./bs_${BOARD_TS}_tests_bsim_bluetooth_host_att_eatt_notif_prj_conf \
16-
-v=${verbosity_level} -s=${simulation_id} -d=0 -testid=client
16+
-v=${verbosity_level} -s=${simulation_id} -d=0 -testid=client -RealEncryption=1
1717

1818
Execute ./bs_${BOARD_TS}_tests_bsim_bluetooth_host_att_eatt_notif_prj_conf \
19-
-v=${verbosity_level} -s=${simulation_id} -d=1 -testid=server
19+
-v=${verbosity_level} -s=${simulation_id} -d=1 -testid=server -RealEncryption=1
2020

2121
Execute ./bs_2G4_phy_v1 -v=${verbosity_level} -s=${simulation_id} \
2222
-D=2 -sim_length=60e6 $@

0 commit comments

Comments
 (0)