Do not run the "applets2" test without X

This commit is contained in:
Pierre Pronchery 2015-10-24 02:54:27 +02:00
parent 367ab25876
commit f579b14952

View File

@ -101,7 +101,7 @@ FAILED=
echo "Performing tests:" 1>&2 echo "Performing tests:" 1>&2
echo "Expected failures:" 1>&2 echo "Expected failures:" 1>&2
_fail "applets" _fail "applets"
_fail "applets2" [ -z "$DISPLAY" ] || _fail "applets2"
if [ -n "$FAILED" ]; then if [ -n "$FAILED" ]; then
echo "Failed tests:$FAILED" 1>&2 echo "Failed tests:$FAILED" 1>&2
exit 2 exit 2