diff options
author | Max Rees <maxcrees@me.com> | 2020-12-29 21:21:58 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2023-11-29 21:57:38 -0600 |
commit | cffa1f20260010c5a4fc4444f92591eda4c9b163 (patch) | |
tree | 886cab99032a050f04c5806440b26477c1abba10 /test/solver.sh | |
parent | 7491ce405ab6db97d8decc09344c984997e8e514 (diff) | |
download | apk-tools-cffa1f20260010c5a4fc4444f92591eda4c9b163.tar.gz apk-tools-cffa1f20260010c5a4fc4444f92591eda4c9b163.tar.bz2 apk-tools-cffa1f20260010c5a4fc4444f92591eda4c9b163.tar.xz apk-tools-cffa1f20260010c5a4fc4444f92591eda4c9b163.zip |
test: remove a couple of bashisms
Co-authored-by: Samuel Holland <samuel@sholland.org>
Diffstat (limited to 'test/solver.sh')
-rwxr-xr-x | test/solver.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/solver.sh b/test/solver.sh index bc230c6..e82e130 100755 --- a/test/solver.sh +++ b/test/solver.sh @@ -10,9 +10,9 @@ TEST_TO_RUN="$@" fail=0 pass=0 for test in ${TEST_TO_RUN:-*.test}; do - get_block ARGS < $test | xargs $APK_TEST &> .$test.got + get_block ARGS < $test | xargs $APK_TEST > .$test.got 2>&1 - if ! get_block EXPECT < $test | cmp .$test.got &> /dev/null; then + if ! get_block EXPECT < $test | cmp .$test.got > /dev/null 2>&1; then fail=$((fail+1)) echo "FAIL: $test" get_block EXPECT < $test | diff -ru - .$test.got |