diff options
author | Jan Pokorný <jpokorny@redhat.com> | 2015-03-20 13:33:27 +0100 |
---|---|---|
committer | Jan Pokorný <jpokorny@redhat.com> | 2015-03-20 17:41:49 +0100 |
commit | 5bda0df069299009d7c9683d2cbfa39b1c8f51f1 (patch) | |
tree | 518f9ad06767d6e334d0277dfd70a05800774686 /__root__ | |
parent | 38c5bb166335752c1a2ceed4dc62d6c64235f3c6 (diff) | |
download | clufter-5bda0df069299009d7c9683d2cbfa39b1c8f51f1.tar.gz clufter-5bda0df069299009d7c9683d2cbfa39b1c8f51f1.tar.xz clufter-5bda0df069299009d7c9683d2cbfa39b1c8f51f1.zip |
run-tests: remove unnecessary command substitution
(marked suspicious by ShellCheck tool)
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
Diffstat (limited to '__root__')
-rwxr-xr-x | __root__/run-tests | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/__root__/run-tests b/__root__/run-tests index 432d975..7e9d527 100755 --- a/__root__/run-tests +++ b/__root__/run-tests @@ -1,5 +1,5 @@ #!/bin/sh -# Copyright 2014 Red Hat, Inc. +# Copyright 2015 Red Hat, Inc. # Part of clufter project # Licensed under GPLv2+ (a copy included | http://gnu.org/licenses/gpl-2.0.txt) @@ -39,7 +39,7 @@ while [ $# -gt 0 ]; do case "$1" in -a) # alternative && all ret=0 - for f in $(ls -1 tests/[!_]*.py); do + for f in tests/[!_]*.py; do ${PYTHONEXEC} "$f" >/dev/null 2>&1 \ && echo OK \ || { echo FAIL; ret=1; } |