summaryrefslogblamecommitdiff
path: root/system/apk-tools/dash.patch
blob: 5847d87df6acbc00e4a11bfd6a2c2bc973a324c3 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

                                   
                                  










                                                                             
--- apk-tools-2.10.4/test/solver.sh
+++ apk-tools-2.10.4/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