From 5232904865f807ac45435830c7b7482e06b284d2 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Mon, 07 Dec 2015 10:51:05 -0500 Subject: tests/arch_is_concerned.sh: Wrap long lines --- (limited to 'tests') diff --git a/tests/arch_is_concerned.sh b/tests/arch_is_concerned.sh index ee62976..c6c1d17 100755 --- a/tests/arch_is_concerned.sh +++ b/tests/arch_is_concerned.sh @@ -45,35 +45,43 @@ do_test() main() { + local arches= + # Architecture: all - do_test 'amd64-linux-glibc' 'all' false - do_test 'i686-linux-glibc' 'all' false - do_test 'all' 'all' true + arches='all' + do_test 'amd64-linux-glibc' "${arches}" false + do_test 'i686-linux-glibc' "${arches}" false + do_test 'all' "${arches}" true # Architecture: any - do_test 'amd64-linux-glibc' 'any' true - do_test 'i686-linux-glibc' 'any' true - do_test 'all' 'any' false + arches='any' + do_test 'amd64-linux-glibc' "${arches}" true + do_test 'i686-linux-glibc' "${arches}" true + do_test 'all' "${arches}" false # Architecture: amd64-linux-glibc - do_test 'amd64-linux-glibc' 'amd64-linux-glibc' true - do_test 'i686-linux-glibc' 'amd64-linux-glibc' false - do_test 'all' 'amd64-linux-glibc' false + arches='amd64-linux-glibc' + do_test 'amd64-linux-glibc' "${arches}" true + do_test 'i686-linux-glibc' "${arches}" false + do_test 'all' "${arches}" false # Architecture: !amd64-linux-glibc - do_test 'amd64-linux-glibc' '!amd64-linux-glibc' false - do_test 'i686-linux-glibc' '!amd64-linux-glibc' true - do_test 'all' '!amd64-linux-glibc' false + arches='!amd64-linux-glibc' + do_test 'amd64-linux-glibc' "${arches}" false + do_test 'i686-linux-glibc' "${arches}" true + do_test 'all' "${arches}" false # Architecture: amd64-linux-glibc cortexa8-linux-glibc - do_test 'amd64-linux-glibc' 'amd64-linux-glibc cortexa8-linux-glibc' true - do_test 'i686-linux-glibc' 'amd64-linux-glibc cortexa8-linux-glibc' false - do_test 'all' 'amd64-linux-glibc cortexa8-linux-glibc' false + arches='amd64-linux-glibc cortexa8-linux-glibc' + do_test 'amd64-linux-glibc' "${arches}" true + do_test 'i686-linux-glibc' "${arches}" false + do_test 'all' "${arches}" false # Architecture: amd64-linux-glibc all - do_test 'amd64-linux-glibc' 'amd64-linux-glibc all' true - do_test 'i686-linux-glibc' 'amd64-linux-glibc all' false - do_test 'all' 'amd64-linux-glibc all' true + arches='amd64-linux-glibc all' + do_test 'amd64-linux-glibc' "${arches}" true + do_test 'i686-linux-glibc' "${arches}" false + do_test 'all' "${arches}" true return 0 } -- cgit v0.9.1