#!/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/ [[ -L /p4/test_Upgrade.py ]] || ln -s /sdp/Server/test/test_Upgrade.py /p4/ python3 /p4/test_SDP.py result=$? [[ $result -eq 0 ]] || tail /tmp/SDPTest.log [[ $result -eq 0 ]] || exit $result python3 /p4/test_Upgrade.py result=$? [[ $result -eq 0 ]] || tail /tmp/UpgradeSDPTest.log exit $result
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#6 | 28850 | tom_tyler |
Test suite tweaks: * Added command line usage notes in scripts. * Enhanced comand line processing. * Added aliases for building on Rocky Linux 8. #review-28851 |
||
#5 | 28377 | tom_tyler |
Added test for correct extraction of custom logic during SDP ugprade. This test also ensure correct load order for the shell environment. #review-28378 |
||
#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 | ||
#1 | 25258 | robert_cowham |
Rework the containers in preparation for multi container testing mkrep changes: 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) |