From 666fc6ae410d2a079f735103805af3d46c21d4e8 Mon Sep 17 00:00:00 2001
From: Bin Zhao <bizhao@vmware.com>
Date: Wed, 26 Jul 2017 00:39:35 -0700
Subject: [PATCH] Fix the shell script to run reliability test

There are 3 minor errors in the shell script.
This change is to fix them to make the script work.

Change-Id: I610f99c2a3a9a8d224fdd9d49427a9494ccb6161
Closes-Bug: #1706537
---
 doc/source/test_results/reliability/version_1/index.rst | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/doc/source/test_results/reliability/version_1/index.rst b/doc/source/test_results/reliability/version_1/index.rst
index 4067a77..91e11c6 100644
--- a/doc/source/test_results/reliability/version_1/index.rst
+++ b/doc/source/test_results/reliability/version_1/index.rst
@@ -306,10 +306,10 @@ Use the following VM parameters for testing purposes:
 
    .. code:: bash
 
-      PLUGIN_PATH="${WORK_DIR}/plugins"
+      PLUGINS_PATH="${WORK_DIR}/plugins"
       SCENARIOS="random_controller_reboot_factor.json"
-      for scenario in SCENARIOS; do
-        rally --plugin-paths ${PLUGINS_PATH} task start --tag ${scenario} ${WORK_DR}/scenarios/${scenario}
+      for scenario in ${SCENARIOS}; do
+        rally --plugin-paths ${PLUGINS_PATH} task start --tag ${scenario} ${WORK_DIR}/scenarios/${scenario}
       done
       task_list="$(rally task list --uuids-only)"
       rally task report --tasks ${task_list} --out=${WORK_DIR}/rally_report.html
@@ -648,4 +648,4 @@ only at small concurrency. This behaviour is not normal
 for an HA OpenStack configuration and should be investigated in future.
 
 .. references:
-.. _Rally installation documentation: https://rally.readthedocs.io/en/latest/install.html
\ No newline at end of file
+.. _Rally installation documentation: https://rally.readthedocs.io/en/latest/install.html