#!/bin/bash # Tests the SDP - basic tests /p4/reset_sdp.sh [[ -L /p4/test_SDP.py ]] || ln -s /sdp/Server/test/test_SDP.py /p4/test_SDP.py python3 /p4/test_SDP.py result=$? [[ $result -eq 0 ]] || tail /tmp/SDPTest.log exit $result
Test suite tweaks:
* Added command line usage notes in scripts.
* Enhanced comand line processing.
* Added aliases for building on Rocky Linux 8.
Added test for correct extraction of custom logic during SDP ugprade.
This test also ensure correct load order for the shell environment.
|#4||28252||tom_tyler||Enahced test suite: verify_sdp.sh runs after testing sdp_ugprade.sh.|
|#3||28232||tom_tyler||Added test for sdp_upgrade.sh.|
|#2||25554||robert_cowham||Automated tests for calling upgrade.sh|
Rework the containers in preparation for multi container testing
Remove -c cfg option which was unused anyway
Converted tabs to spaces
Fixed logic error causing forwarding replicas to bail due to unsupported p4d version
Standby servers require ReplicatingFrom field
Add seconds to log file name (useful for testing to avoid overwriting files)