mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
QA tweaks - use a single os type source mainly (drop get_os, use HOST_OS)
This commit is contained in:
@@ -70,9 +70,6 @@ _filter_dbtest()
|
||||
# link correct .out file
|
||||
_link_out_file $seq.out
|
||||
|
||||
# put operating system in $os
|
||||
_get_os
|
||||
|
||||
[ -x $here/src/dbtest ] || _notrun "dbtest was not built for this platform"
|
||||
|
||||
# real QA test starts here
|
||||
@@ -85,11 +82,7 @@ rm -f $seq.full
|
||||
|
||||
cd $testdir
|
||||
|
||||
if [ $os == 'irix' ]; then
|
||||
$here/src/dbtest -l 5 -n 500 2>&1 | tee -a $here/$seq.full | _filter_dbtest
|
||||
elif [ $os == 'linux' ]; then
|
||||
$here/src/dbtest -l 5 -n 3000 2>&1 | tee -a $here/$seq.full | _filter_dbtest
|
||||
fi
|
||||
$here/src/dbtest -l 5 -n 3000 2>&1 | tee -a $here/$seq.full | _filter_dbtest
|
||||
|
||||
# success, all done
|
||||
exit
|
||||
|
||||
Reference in New Issue
Block a user