summaryrefslogtreecommitdiff
path: root/testsuite/tools/test-settings.in
blob: 5e32c80e123a1c29f3adfd5db4209c8e38c2645e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#! /bin/bash

GTK_QUERY_SETTINGS=${GTK_QUERY_SETTINGS:-gtk-query-settings}
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
if [ $(wc -l $result | cut -f1 -d' ') -eq 882 ]; then
  echo "ok 1 $name"
else
  echo "not ok 1 $name"
fi