-
Notifications
You must be signed in to change notification settings - Fork 1
/
test.sh
23 lines (17 loc) · 959 Bytes
/
test.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/bash
if [ -z "$KAFKA_BROKER" ]; then
echo "KAFKA_BROKER environment variable not set"
exit 1
fi
# expected to be retained
echo "Sending Test BSM: Normal, Inside Geofence - Expected Behavior: Retained"
./send_bsm.sh ./bsms/testbsm_normal_inside_geofence.txt
echo "Sending Test BSM: PartII, Inside Geofence - Expected Behavior: Retained"
./send_bsm.sh ./bsms/testbsm_partII_inside_geofence.txt
# expected to be supressed
echo "Sending Test BSM: Normal, Outside Geofence - Expected Behavior: Supressed"
./send_bsm.sh ./bsms/testbsm_normal_outside_geofence.txt
echo "Sending Test BSM: Normal, Inside Geofence, Outside Speed Range (Above) - Expected Behavior: Supressed"
./send_bsm.sh ./bsms/testbsm_normal_inside_geofence_outside_speed_range_above.txt
echo "Sending Test BSM: Normal, Inside Geofence, Outside Speed Range (Below) - Expected Behavior: Supressed"
./send_bsm.sh ./bsms/testbsm_normal_inside_geofence_outside_speed_range_below.txt