You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
QA/tests/p_perf/01_perf_version.sh

16 lines
273 B

#!/bin/bash
# Author: Carlos Rodriguez-Fernandez <carlosrodrifernandez@gmail.com>
t_Log "Running $0"
output_file=$(mktemp)
trap "rm -f ${output_file}" EXIT
if ! perf version > ${output_file} 2>&1; then
cat ${output_file}
t_CheckExitStatus 1
fi
t_CheckExitStatus 0