Fix the simplify test
authorMatthias Clasen <mclasen@redhat.com>
Sun, 5 May 2019 15:21:58 +0000 (15:21 +0000)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 5 May 2019 15:21:58 +0000 (15:21 +0000)
The script was returning the wrong number of tests.

testsuite/tools/simplify.in

index 642b50f0e6ee0abd814582720a116d78eec9d4b5..814f803091d8cebbfb7016cc753e63a3015e4d45 100755 (executable)
@@ -7,7 +7,7 @@ TEST_RESULT_DIR=${TEST_RESULT_DIR:-/tmp}
 shopt -s nullglob
 TESTS=( "$TEST_DATA_DIR"/*.ui )
 
-echo "1..${#TESTS}"
+echo "1..${#TESTS[*]}"
 
 I=1
 for t in ${TESTS[*]}; do