
#!/bin/bash

# This test is designed to sanity check running rti dds binaries within bazel
# Call rtiddsspy with the help flag and ensure we get expected output
result=$(build/rti/rti_binary_wrapper.sh rtiddsspy -help 2>&1)
if [[ $result = *"RTI Connext DDS Spy"* ]]; then
  exit 0
else
  echo Output missing
  echo $result
  exit 1
fi
