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

fix file path in compare_stripe_info.

lustre/tests/sanity.sh

index f3e77a8..9eb4e92 100644 (file)
@@ -3994,7 +3994,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
@@ -4018,7 +4018,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