Whamcloud - gitweb
b=22040 use df POSIX output format
authorElena Gryaznova <grev@sun.com>
Thu, 17 Jun 2010 10:23:30 +0000 (14:23 +0400)
committerRobert Read <robert.read@oracle.com>
Thu, 17 Jun 2010 21:19:33 +0000 (14:19 -0700)
i=Oleg.Drokin

lustre/tests/parallel-scale.sh

index 32eadc5..bc208a6 100644 (file)
@@ -271,7 +271,7 @@ test_connectathon() {
 
     tests="-b -g -s"
     # Include lock tests unless we're running on nfsv4
 
     tests="-b -g -s"
     # Include lock tests unless we're running on nfsv4
-    local fstype=$(df -T $testdir | awk 'NR==2  {print $2}')
+    local fstype=$(df -TP $testdir | awk 'NR==2  {print $2}')
     echo "$testdir: $fstype"
     if [[ $fstype != "nfs4" ]]; then
        tests="$tests -l"
     echo "$testdir: $fstype"
     if [[ $fstype != "nfs4" ]]; then
        tests="$tests -l"