#!/bin/bash
# Runs mkrep.sh tests

/p4/reset_sdp.sh
testfile=test_MultiSDP.py

[[ -L /p4/$testfile ]] || ln -s /sdp/Server/test/$testfile /p4/
[[ -L /p4/test_SDP.py ]] || ln -s /sdp/Server/test/test_SDP.py /p4/test_SDP.py

python3 /p4/$testfile
result=$?
[[ $result -eq 0 ]] || tail /tmp/MultiSDPTest.log

exit $result