summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorLance Bragstad <ldbragst@us.ibm.com>2014-05-13 14:02:29 +0000
committerLance Bragstad <lbragstad@gmail.com>2014-06-23 15:41:58 +0000
commit491b29bed84db2156f2b0eec01c929cb9d8b13b6 (patch)
treecc666738bc63fc271bf7df1724078ea059ed6d9a /tools
parent1ca41569b3b57da3dc56bf48e9ba6a8c43dea1c8 (diff)
downloadkeystone-491b29bed84db2156f2b0eec01c929cb9d8b13b6.tar.gz
Make gen_pki.sh & debug_helper.sh bash8 compliant
Now that bash8 is available on PyPI we can use it to clean up the bash scripts in Keystone. This also uses bash8 in tox. For now we can add files to the tox check manually as we make them compliant. Change-Id: I87a7478949114163f0614b1a6d8b249e14afe0df
Diffstat (limited to 'tools')
-rwxr-xr-xtools/debug_helper.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/debug_helper.sh b/tools/debug_helper.sh
index 64088f528..e373cce94 100755
--- a/tools/debug_helper.sh
+++ b/tools/debug_helper.sh
@@ -8,8 +8,7 @@ TESTS_TO_RUN=$TMP_DIR/ks_to_run
python -m testtools.run discover -t ./ ./keystone/tests --list > $ALL_TESTS
-if [ "$1" ]
-then
+if [ "$1" ]; then
grep "$1" < $ALL_TESTS > $TESTS_TO_RUN
else
mv $ALL_TESTS $TESTS_TO_RUN