omegatest: Use test_scriptindex more
commit08432893bab5e363c1da63511786c73d0a8b93ee
authorOlly Betts <olly@survex.com>
Tue, 28 Jun 2022 02:10:41 +0000 (28 14:10 +1200)
committerOlly Betts <olly@survex.com>
Fri, 1 Jul 2022 06:14:41 +0000 (1 18:14 +1200)
treec7fa0226db947d447ab4ca79599edd35f9976336
parenta688900416aff481102662d35c8eb4459638d05b
omegatest: Use test_scriptindex more

One case was (correctly) issuing a warning, so use
test_scriptindex_warning there.

(cherry picked from commit ac1da29928551de825778722db09e354735a3796)
xapian-applications/omega/omegatest