runtests.sh 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. #!/usr/bin/env bash
  2. # shellcheck disable=SC2034
  3. # unused variables are global in nature and used in testsupport.sh
  4. set -eo pipefail
  5. # Licensed to the Apache Software Foundation (ASF) under one or more
  6. # contributor license agreements. See the NOTICE file distributed with
  7. # this work for additional information regarding copyright ownership.
  8. # The ASF licenses this file to You under the Apache License, Version 2.0
  9. # (the "License"); you may not use this file except in compliance with
  10. # the License. You may obtain a copy of the License at
  11. #
  12. # http://www.apache.org/licenses/LICENSE-2.0
  13. #
  14. # Unless required by applicable law or agreed to in writing, software
  15. # distributed under the License is distributed on an "AS IS" BASIS,
  16. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  17. # See the License for the specific language governing permissions and
  18. # limitations under the License.
  19. # shellcheck disable=SC1091
  20. . dev-support/testrun-scripts/testsupport.sh
  21. begin
  22. ### ADD THE TEST COMBINATIONS BELOW. DO NOT EDIT THE ABOVE LINES.
  23. ### THE SCRIPT REQUIRES THE FOLLOWING UTILITIES xmlstarlet AND pcregrep.
  24. combination=HNS-OAuth
  25. properties=("fs.azure.abfs.account.name" "fs.azure.test.namespace.enabled"
  26. "fs.azure.account.auth.type")
  27. values=("{account name}.dfs.core.windows.net" "true" "OAuth")
  28. generateconfigs
  29. combination=AppendBlob-HNS-OAuth
  30. properties=("fs.azure.abfs.account.name" "fs.azure.test.namespace.enabled"
  31. "fs.azure.account.auth.type" "fs.azure.test.appendblob.enabled")
  32. values=("{account name}.dfs.core.windows.net" "true" "OAuth" "true")
  33. generateconfigs
  34. combination=HNS-SharedKey
  35. properties=("fs.azure.abfs.account.name" "fs.azure.test.namespace.enabled" "fs.azure.account.auth.type")
  36. values=("{account name}.dfs.core.windows.net" "true" "SharedKey")
  37. generateconfigs
  38. combination=NonHNS-SharedKey
  39. properties=("fs.azure.abfs.account.name" "fs.azure.test.namespace.enabled" "fs.azure.account.auth.type")
  40. values=("{account name}.dfs.core.windows.net" "false" "SharedKey")
  41. generateconfigs
  42. ### DO NOT EDIT THE LINES BELOW.
  43. runtests "$@"