mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
Some fixups when testing on IRIX.
The xfs_db push command semantics seem to have changed on Linux since the port. On IRIX after a push, the state - such as the type - which is pushed on the stack, no longer seems to be kept current.
This commit is contained in:
@@ -89,9 +89,14 @@ test_done
|
||||
echo "=== TEST 5 ==="
|
||||
xfs_db -r -c 'inode 128' -c 'push' -c 'type' $TEST_DEV >$tmp.out 2>&1
|
||||
test_done
|
||||
if ! grep -q "current type is \"inode\"" $tmp.out
|
||||
then
|
||||
cat $tmp.out
|
||||
# On IRIX we lose state after a "push" operation and don't
|
||||
# know the type is still inode
|
||||
# Probably not worth changing xfs_db on IRIX for this.
|
||||
if [ "$HOSTOS" != "IRIX" ]; then
|
||||
if ! grep -q "current type is \"inode\"" $tmp.out
|
||||
then
|
||||
cat $tmp.out
|
||||
fi
|
||||
fi
|
||||
|
||||
echo "=== TEST 6 ==="
|
||||
|
||||
@@ -67,9 +67,6 @@ _filter_dbtest()
|
||||
. ./common.rc
|
||||
. ./common.filter
|
||||
|
||||
# link correct .out file
|
||||
_link_out_file $seq.out
|
||||
|
||||
[ -x $here/src/dbtest ] || _notrun "dbtest was not built for this platform"
|
||||
|
||||
# real QA test starts here
|
||||
@@ -82,7 +79,7 @@ rm -f $seq.full
|
||||
|
||||
cd $testdir
|
||||
|
||||
$here/src/dbtest -l 5 -n 3000 2>&1 | tee -a $here/$seq.full | _filter_dbtest
|
||||
$here/src/dbtest -l 5 -n 1000 2>&1 | tee -a $here/$seq.full | _filter_dbtest
|
||||
|
||||
# success, all done
|
||||
exit
|
||||
|
||||
@@ -0,0 +1,58 @@
|
||||
QA output created by 010
|
||||
dbtest v1.0
|
||||
|
||||
Creating database containing 1000 records...
|
||||
performing lookups for 5 iterations...
|
||||
using BLEEP as seed for srandom()...
|
||||
|
||||
|
||||
There were BLEEP duplicate checksums generated
|
||||
|
||||
Performing lookups on database...
|
||||
|
||||
Sequential lookups...
|
||||
|
||||
|
||||
Random lookups...
|
||||
|
||||
Lookups succeeded...
|
||||
|
||||
Performing lookups on database...
|
||||
|
||||
Sequential lookups...
|
||||
|
||||
|
||||
Random lookups...
|
||||
|
||||
Lookups succeeded...
|
||||
|
||||
Performing lookups on database...
|
||||
|
||||
Sequential lookups...
|
||||
|
||||
|
||||
Random lookups...
|
||||
|
||||
Lookups succeeded...
|
||||
|
||||
Performing lookups on database...
|
||||
|
||||
Sequential lookups...
|
||||
|
||||
|
||||
Random lookups...
|
||||
|
||||
Lookups succeeded...
|
||||
|
||||
Performing lookups on database...
|
||||
|
||||
Sequential lookups...
|
||||
|
||||
|
||||
Random lookups...
|
||||
|
||||
Lookups succeeded...
|
||||
|
||||
Cleaning up database...
|
||||
|
||||
There were BLEEP duplicate checksums generated
|
||||
|
||||
@@ -1,58 +0,0 @@
|
||||
QA output created by 010
|
||||
dbtest v1.0
|
||||
|
||||
Creating database containing 500 records...
|
||||
performing lookups for 5 iterations...
|
||||
using BLEEP as seed for srandom()...
|
||||
|
||||
|
||||
There were BLEEP duplicate checksums generated
|
||||
|
||||
Performing lookups on database...
|
||||
|
||||
Sequential lookups...
|
||||
|
||||
|
||||
Random lookups...
|
||||
|
||||
Lookups succeeded...
|
||||
|
||||
Performing lookups on database...
|
||||
|
||||
Sequential lookups...
|
||||
|
||||
|
||||
Random lookups...
|
||||
|
||||
Lookups succeeded...
|
||||
|
||||
Performing lookups on database...
|
||||
|
||||
Sequential lookups...
|
||||
|
||||
|
||||
Random lookups...
|
||||
|
||||
Lookups succeeded...
|
||||
|
||||
Performing lookups on database...
|
||||
|
||||
Sequential lookups...
|
||||
|
||||
|
||||
Random lookups...
|
||||
|
||||
Lookups succeeded...
|
||||
|
||||
Performing lookups on database...
|
||||
|
||||
Sequential lookups...
|
||||
|
||||
|
||||
Random lookups...
|
||||
|
||||
Lookups succeeded...
|
||||
|
||||
Cleaning up database...
|
||||
|
||||
There were BLEEP duplicate checksums generated
|
||||
@@ -1,58 +0,0 @@
|
||||
QA output created by 010
|
||||
dbtest v1.0
|
||||
|
||||
Creating database containing 3000 records...
|
||||
performing lookups for 5 iterations...
|
||||
using BLEEP as seed for srandom()...
|
||||
|
||||
|
||||
There were BLEEP duplicate checksums generated
|
||||
|
||||
Performing lookups on database...
|
||||
|
||||
Sequential lookups...
|
||||
|
||||
|
||||
Random lookups...
|
||||
|
||||
Lookups succeeded...
|
||||
|
||||
Performing lookups on database...
|
||||
|
||||
Sequential lookups...
|
||||
|
||||
|
||||
Random lookups...
|
||||
|
||||
Lookups succeeded...
|
||||
|
||||
Performing lookups on database...
|
||||
|
||||
Sequential lookups...
|
||||
|
||||
|
||||
Random lookups...
|
||||
|
||||
Lookups succeeded...
|
||||
|
||||
Performing lookups on database...
|
||||
|
||||
Sequential lookups...
|
||||
|
||||
|
||||
Random lookups...
|
||||
|
||||
Lookups succeeded...
|
||||
|
||||
Performing lookups on database...
|
||||
|
||||
Sequential lookups...
|
||||
|
||||
|
||||
Random lookups...
|
||||
|
||||
Lookups succeeded...
|
||||
|
||||
Cleaning up database...
|
||||
|
||||
There were BLEEP duplicate checksums generated
|
||||
Reference in New Issue
Block a user