xfs/299: fix variable name typo
authorZorro Lang <zlang@redhat.com>
Mon, 9 May 2016 00:51:33 +0000 (10:51 +1000)
committerDave Chinner <david@fromorbit.com>
Mon, 9 May 2016 00:51:33 +0000 (10:51 +1000)
In xfs/299, project IDs are in $tmp.projid file. But there's one
line code try to use $temp.projid. Fortunately, it doesn't bring
any problems until now, but if keep using $temp.projid it really
don't make sense.

Signed-off-by: Zorro Lang <zlang@redhat.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
tests/xfs/299

index 1f61eea4ba1c4364de87ba44e4988ff2b2e3a71b..d2670f87a76227bb993365b8997c305b239c8a40 100755 (executable)
@@ -143,7 +143,7 @@ _exercise()
        _file_as_id $SCRATCH_MNT/initme $id $type 1024 0
        echo "ls -l $SCRATCH_MNT" >>$seqres.full
        ls -l $SCRATCH_MNT >>$seqres.full
-       xfs_quota -D $tmp.projects -P $temp.projid -x \
+       xfs_quota -D $tmp.projects -P $tmp.projid -x \
                -c "limit -$type bsoft=${bsoft}k bhard=${bhard}k $id" \
                -c "limit -$type isoft=$isoft ihard=$ihard $id" \
                $SCRATCH_DEV