Whamcloud - gitweb
Branch b1_6
authorjohann <johann>
Thu, 11 Dec 2008 14:08:02 +0000 (14:08 +0000)
committerjohann <johann>
Thu, 11 Dec 2008 14:08:02 +0000 (14:08 +0000)
b=12596
i=grev
i=rread

fix file path in compare_stripe_info

lustre/tests/sanity.sh

index 6484ee5..e3cbf8f 100644 (file)
@@ -3900,7 +3900,7 @@ compare_stripe_info1() {
                        do
                                local size=`expr $STRIPE_SIZE \* $num`
                                local file=file"$num-$offset-$count"
-                               get_stripe_info client $file
+                               get_stripe_info client $PWD/$file
                                if [ $stripe_size -ne $size ]; then
                                        error "$file: different stripe size" && return
                                fi
@@ -3924,7 +3924,7 @@ compare_stripe_info2() {
                        do
                                local size=`expr $STRIPE_SIZE \* $num`
                                local file=file"$num-$offset-$count"
-                               get_stripe_info client $file
+                               get_stripe_info client $PWD/$file
                                if [ $stripe_size -ne $size ]; then
                                        error "$file: different stripe size" && return  
                                fi