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:
@@ -53,9 +53,6 @@ trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
|
||||
. ./common.rc
|
||||
. ./common.filter
|
||||
|
||||
# put operating system in $os
|
||||
_get_os
|
||||
|
||||
# real QA test starts here
|
||||
_supported_fs xfs
|
||||
_supported_os IRIX Linux
|
||||
@@ -74,19 +71,6 @@ _do_logprint()
|
||||
rm -f $seq.full
|
||||
rm -f $tmp.log
|
||||
|
||||
|
||||
if [ $os == 'irix' ]; then
|
||||
tail -f /var/adm/SYSLOG >$tmp.log &
|
||||
elif [ $os == 'linux' ]; then
|
||||
tail -f /var/log/messages >$tmp.log &
|
||||
else
|
||||
echo Error test $seq does not run on the operating system: `uname`
|
||||
exit
|
||||
fi
|
||||
|
||||
pid=$!
|
||||
cp $tmp.log $tmp.log.orig # note the original log
|
||||
|
||||
_require_scratch
|
||||
|
||||
echo "mkfs"
|
||||
|
||||
Reference in New Issue
Block a user