]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
irix qa stuff
authorTim Shimmin <tes@sgi.com>
Thu, 5 Aug 2004 08:28:48 +0000 (08:28 +0000)
committerTim Shimmin <tes@sgi.com>
Thu, 5 Aug 2004 08:28:48 +0000 (08:28 +0000)
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

088
088.out [deleted file]
088.out.irix [new file with mode: 0644]
088.out.linux [new file with mode: 0644]
091

diff --git a/088 b/088
index b530023ae1690d319a15f3a03869e9c767234c26..2697f6c9c4021cd173713218d7a24ef4ac4ee298 100755 (executable)
--- a/088
+++ b/088
@@ -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
diff --git a/088.out b/088.out
deleted file mode 100755 (executable)
index 317c13f..0000000
--- a/088.out
+++ /dev/null
@@ -1,9 +0,0 @@
-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 -1
-access(TEST_DIR/t_access, R_OK | W_OK) returns 0
-access(TEST_DIR/t_access, R_OK | X_OK) returns -1
-access(TEST_DIR/t_access, W_OK | X_OK) returns -1
-access(TEST_DIR/t_access, R_OK | W_OK | X_OK) returns -1
diff --git a/088.out.irix b/088.out.irix
new file mode 100644 (file)
index 0000000..f31ecf9
--- /dev/null
@@ -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
diff --git a/088.out.linux b/088.out.linux
new file mode 100644 (file)
index 0000000..317c13f
--- /dev/null
@@ -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 -1
+access(TEST_DIR/t_access, R_OK | W_OK) returns 0
+access(TEST_DIR/t_access, R_OK | X_OK) returns -1
+access(TEST_DIR/t_access, W_OK | X_OK) returns -1
+access(TEST_DIR/t_access, R_OK | W_OK | X_OK) returns -1
diff --git a/091 b/091
index da7b8a5b6e265949df287ae184f37b60f61194dc..be5f6eb077b74b10f61c08d092e12e97cd00d4fe 100755 (executable)
--- a/091
+++ b/091
@@ -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