2016-03-05 18:41:47 +00:00
|
|
|
#! /bin/bash
|
|
|
|
|
2019-11-29 14:51:35 +00:00
|
|
|
GTK_QUERY_SETTINGS=${GTK_QUERY_SETTINGS:-gtk4-query-settings}
|
2016-03-05 18:41:47 +00:00
|
|
|
TEST_RESULT_DIR=${TEST_RESULT_DIR:-/tmp}
|
|
|
|
|
|
|
|
shopt -s nullglob
|
|
|
|
|
|
|
|
echo "1..1"
|
|
|
|
|
|
|
|
name=gtk-query-settings
|
|
|
|
result=$TEST_RESULT_DIR/$name.out
|
|
|
|
$GTK_QUERY_SETTINGS 2>/dev/null >$result
|
2020-04-01 04:24:56 +00:00
|
|
|
if [ $(wc -l $result | cut -f1 -d' ') -eq 49 ]; then
|
2016-03-05 18:41:47 +00:00
|
|
|
echo "ok 1 $name"
|
|
|
|
else
|
|
|
|
echo "not ok 1 $name"
|
|
|
|
fi
|