summaryrefslogtreecommitdiff
path: root/tools/misc-sanity-checks.sh
diff options
context:
space:
mode:
authorMaru Newby <marun@redhat.com>2015-02-21 00:15:12 +0000
committerMaru Newby <marun@redhat.com>2015-03-06 19:57:27 +0000
commit30c6f5636517a62e272675c0fcc799c96f2fb2af (patch)
tree90957a64afcc20f93e0419a384d7ee94a81ef676 /tools/misc-sanity-checks.sh
parentaeae583fa51f932424108fb5303d92ada55013d9 (diff)
downloadneutron-30c6f5636517a62e272675c0fcc799c96f2fb2af.tar.gz
Add script to copy neutron api tests from tempest
This change adds a script to automate the copying of api tests from tempest in the style of oslo_incubator. The target path will be neutron/tests/tempest and no manual modifications should be made to this path until such time as neutron api test development is frozen in tempest and development can proceed in the neutron tree. Until that occurs, a policy of manual once-daily synchronization is suggested. The target path includes the name 'tempest' as a clear indication that this is not part of neutron, and that once development is allowed to proceed, its contents should be rewritten and removed until there is nothing left. So long as the tests exist in both the tempest and neutron trees, testing effort will be duplicated. The larger goal is to have the tests in question removed from tempest as per the qa guidelines [1], so this should be temporary. 1: https://wiki.openstack.org/wiki/QA/Tempest-test-removal Change-Id: I3cd55983e610a1d61aae565f88fe5017edba1090
Diffstat (limited to 'tools/misc-sanity-checks.sh')
-rw-r--r--tools/misc-sanity-checks.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/misc-sanity-checks.sh b/tools/misc-sanity-checks.sh
index 2e3e519348..bc4d2eb017 100644
--- a/tools/misc-sanity-checks.sh
+++ b/tools/misc-sanity-checks.sh
@@ -32,7 +32,7 @@ check_opinionated_shell () {
# If you cannot avoid the use of bash, please change the EXPECTED var below.
OBSERVED=$(grep -E '^([[:space:]]*[^#[:space:]]|#!).*bash' \
tox.ini tools/* | wc -l)
- EXPECTED=6
+ EXPECTED=7
if [ ${EXPECTED} -ne ${OBSERVED} ]; then
echo "Bash usage has been detected!" >>$FAILURES
fi