#!/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 | |
---|---|---|---|---|---|
#1 | 27246 | Jessie Fernandez | Branch for Jessie Fernandez | ||
//guest/perforce_software/sdp/dev/test/docker/files/test_sdp.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) |