@cryptotaxi247 / kubo / commits / 9b316e8c6

t0120: swap test_cmp arguments

License: MIT Signed-off-by: Christian Couder <chriscool@tuxfamily.org>

Christian Couder committed Oct 4, 2015 at 00:06 UTC 9b316e8c667490800adbc0924a979f24b28958bd
1 file changed +5 -5
test/sharness/t0120-bootstrap.sh
+5 -5
@@ -34,7 +34,7 @@ test_bootstrap_list_cmd() {
34 '
35
36 test_expect_success "'ipfs bootstrap' output looks good" '
37 - test_cmp list_actual list_expected
37 + test_cmp list_expected list_actual
38 '
39
40 test_expect_success "'ipfs bootstrap list' succeeds" '
@@ -42,7 +42,7 @@ test_bootstrap_list_cmd() {
42 '
43
44 test_expect_success "'ipfs bootstrap list' output looks good" '
45 - test_cmp list2_actual list_expected
45 + test_cmp list_expected list2_actual
46 '
47 }
48
@@ -63,7 +63,7 @@ test_bootstrap_cmd() {
63 echo $BP1 >add_expected
64 echo $BP2 >>add_expected
65 echo $BP3 >>add_expected
66 - test_cmp add_actual add_expected
66 + test_cmp add_expected add_actual
67 '
68
69 test_bootstrap_list_cmd $BP1 $BP2 $BP3
@@ -75,7 +75,7 @@ test_bootstrap_cmd() {
75 test_expect_success "'ipfs bootstrap rm' output looks good" '
76 echo $BP1 >rm_expected
77 echo $BP3 >>rm_expected
78 - test_cmp rm_actual rm_expected
78 + test_cmp rm_expected rm_actual
79 '
80
81 test_bootstrap_list_cmd $BP2
@@ -94,7 +94,7 @@ test_bootstrap_cmd() {
94 echo $BP7 >>add2_expected
95 echo $BP8 >>add2_expected
96 echo $BP9 >>add2_expected
97 - test_cmp add2_actual add2_expected
97 + test_cmp add2_expected add2_actual
98 '
99
100 test_bootstrap_list_cmd $BP1 $BP2 $BP3 $BP4 $BP5 $BP6 $BP7 $BP8 $BP9