mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
irix qa stuff
have different output for linux and irix our access checks aren't quite the same - they have been corrected on linux due to some complaints
This commit is contained in:
@@ -57,12 +57,15 @@ _filter()
|
||||
-e '/----------/d'
|
||||
}
|
||||
|
||||
# link correct .out file
|
||||
_link_out_file $seq.out
|
||||
|
||||
# real QA test starts here
|
||||
_supported_fs xfs
|
||||
_supported_os IRIX Linux
|
||||
|
||||
path=$TEST_DIR/t_access
|
||||
src/t_access_root $path | _filter
|
||||
src/t_access_root $path | tee $seq.full | _filter
|
||||
|
||||
# success, all done
|
||||
status=0
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
QA output created by 088
|
||||
access(TEST_DIR/t_access, 0) returns 0
|
||||
access(TEST_DIR/t_access, R_OK) returns 0
|
||||
access(TEST_DIR/t_access, W_OK) returns 0
|
||||
access(TEST_DIR/t_access, X_OK) returns 0
|
||||
access(TEST_DIR/t_access, R_OK | W_OK) returns 0
|
||||
access(TEST_DIR/t_access, R_OK | X_OK) returns 0
|
||||
access(TEST_DIR/t_access, W_OK | X_OK) returns 0
|
||||
access(TEST_DIR/t_access, R_OK | W_OK | X_OK) returns 0
|
||||
Executable → Regular
@@ -54,9 +54,11 @@ trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
|
||||
_supported_fs xfs
|
||||
_supported_os Linux IRIX
|
||||
|
||||
rm -f $seq.full
|
||||
|
||||
run_fsx()
|
||||
{
|
||||
echo fsx $@ | sed -e "s/ $bsize / BSIZE /g" -e "s/ $psize / PSIZE /g"
|
||||
echo fsx $@ | tee -a $seq.full | sed -e "s/ $bsize / BSIZE /g" -e "s/ $psize / PSIZE /g"
|
||||
rm -f $TEST_DIR/junk
|
||||
$here/ltp/fsx $@ $TEST_DIR/junk > $tmp.stdout 2> $tmp.stderr
|
||||
if [ $? -ne 0 ]; then
|
||||
|
||||
Reference in New Issue
Block a user