comparison test/test-layer-exports.sh @ 2557:5a397accaf59

Work around some AppImage versions printing debug output on startup
author Chris Cannam
date Thu, 11 Jun 2020 15:33:20 +0100
parents 03b12584af5b
children
comparison
equal deleted inserted replaced
2556:d07cf8e01d51 2557:5a397accaf59
28 if [ ! -f "$sv" -o ! -x "$sv" ]; then 28 if [ ! -f "$sv" -o ! -x "$sv" ]; then
29 echo "This script must be run from the sonic-visualiser/test directory" 1>&2 29 echo "This script must be run from the sonic-visualiser/test directory" 1>&2
30 exit 1 30 exit 1
31 fi 31 fi
32 32
33 version=$("$sv" -v 2>&1) 33 version=$("$sv" -v 2>&1 | grep -v App)
34 adequate=no 34 adequate=no
35 case "$version" in 35 case "$version" in
36 [012].*) ;; 36 [012].*) ;;
37 3.[012]) ;; 37 3.[012]) ;;
38 3.[012].*) ;; 38 3.[012].*) ;;