diff options
author | Joerg Sonnenberger <joerg@bec.de> | 2014-04-12 21:13:41 +0000 |
---|---|---|
committer | Joerg Sonnenberger <joerg@bec.de> | 2014-04-12 21:13:41 +0000 |
commit | df40801dff8bd5e6706fb47afab60e5442a7e518 (patch) | |
tree | 863feff42b662f60053cfefe71319de0825e3b6f /utils/lit | |
parent | 2c2ba4c6050014b6941aedbb098296f8d0cf57a1 (diff) | |
download | llvm-df40801dff8bd5e6706fb47afab60e5442a7e518.tar.gz llvm-df40801dff8bd5e6706fb47afab60e5442a7e518.tar.bz2 llvm-df40801dff8bd5e6706fb47afab60e5442a7e518.tar.xz |
Fix test syntax to work with non-bash /bin/sh.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206119 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/lit')
-rwxr-xr-x | utils/lit/utils/check-coverage | 4 | ||||
-rwxr-xr-x | utils/lit/utils/check-sdist | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/utils/lit/utils/check-coverage b/utils/lit/utils/check-coverage index bb3d17e757..128e827f22 100755 --- a/utils/lit/utils/check-coverage +++ b/utils/lit/utils/check-coverage @@ -9,13 +9,13 @@ if [ ! -f setup.py ] || [ ! -d lit ]; then fi # Parse command line arguments. -if [ "$1" == "--generate-html" ]; then +if [ "$1" = "--generate-html" ]; then GENERATE_HTML=1 shift fi # If invoked with no arguments, run all the tests. -if [ $# == "0" ]; then +if [ $# = "0" ]; then set -- "tests" fi diff --git a/utils/lit/utils/check-sdist b/utils/lit/utils/check-sdist index 743a971fbe..f03266a168 100755 --- a/utils/lit/utils/check-sdist +++ b/utils/lit/utils/check-sdist @@ -1,6 +1,6 @@ #!/bin/sh -if [ $# == 1 ]; then +if [ $# = 1 ]; then cd $1 fi |