[ci] Fix netbsd job to upgrade existing packages
[xapian.git] / xapian-maintainer-tools / profiling / off64test
blob7eabc79168d205cae66d63911917da5682c17682
1 #!/bin/sh
2 set -e
4 # Check that we handle 64-bit file offsets suitably by running unittest
5 # testcase ioblock1.
7 # Normalise the output by stripping paths from open() and then diff against
8 # the expected result.
9 test -x ../../xapian-core/tests/unittest
10 ln -sf .libs/profiler.so .
11 ./xapian-io-profile ../../xapian-core/tests/unittest ioblock1 2>&1 >/dev/null |\
12 sed 's,^open(.*/,open(,' | diff off64test.expect -