run_tests.sh #1

  • //
  • guest/
  • perforce_software/
  • hms/
  • dev/
  • p4/
  • common/
  • site/
  • hms/
  • dlp/
  • test/
  • run_tests.sh
  • View
  • Commits
  • Open Download .zip Download (406 B)
#!/bin/bash

function msg () { echo -e "$*"; }
function fail () { msg "\\nFAIL: ${1:-Failed}\\n"; FailCount+=1; }
function pass () { msg "\\nPASS: ${1:-Passed}\\n"; PassCount+=1; }

declare -i FailCount=0
declare -i PassCount=0

source /p4/common/bin/p4_vars "${SDP_INSTANCE:-1}"

msg "Expecting REJECT"
cat t1.txt | ../broker_must_be_super.pl

msg "Expecting PASS"
cat t2.txt | ../broker_must_be_super.pl
# Change User Description Committed
#1 29182 C. Thomas Tyler Moved HMS files from /p4/common/bin -> /p4/common/site/bin.
Moved HMS files from /p4/common/lib -> /p4/common/site/lib.
Removed dependency on SDP libs so that HMS can be deployed
with a wider variety of SDP versions.
//guest/perforce_software/hms/dev/p4/common/hms/dlp/test/run_tests.sh
#1 25975 C. Thomas Tyler Added first cut of DLP as optional component of HMS.