]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t5701-git-serve.sh
t/*: fix ordering of expected/observed arguments
[thirdparty/git.git] / t / t5701-git-serve.sh
index 75ec79e6cb839e71f6830d9301d1982d0fc68925..bf139e245937bc1dca1eeb924dbf193a7c347a2a 100755 (executable)
@@ -16,7 +16,7 @@ test_expect_success 'test capability advertisement' '
 
        git serve --advertise-capabilities >out &&
        test-pkt-line unpack <out >actual &&
-       test_cmp actual expect
+       test_cmp expect actual
 '
 
 test_expect_success 'stateless-rpc flag does not list capabilities' '
@@ -89,7 +89,7 @@ test_expect_success 'basics of ls-refs' '
 
        git serve --stateless-rpc <in >out &&
        test-pkt-line unpack <out >actual &&
-       test_cmp actual expect
+       test_cmp expect actual
 '
 
 test_expect_success 'basic ref-prefixes' '
@@ -109,7 +109,7 @@ test_expect_success 'basic ref-prefixes' '
 
        git serve --stateless-rpc <in >out &&
        test-pkt-line unpack <out >actual &&
-       test_cmp actual expect
+       test_cmp expect actual
 '
 
 test_expect_success 'refs/heads prefix' '
@@ -129,7 +129,7 @@ test_expect_success 'refs/heads prefix' '
 
        git serve --stateless-rpc <in >out &&
        test-pkt-line unpack <out >actual &&
-       test_cmp actual expect
+       test_cmp expect actual
 '
 
 test_expect_success 'peel parameter' '
@@ -150,7 +150,7 @@ test_expect_success 'peel parameter' '
 
        git serve --stateless-rpc <in >out &&
        test-pkt-line unpack <out >actual &&
-       test_cmp actual expect
+       test_cmp expect actual
 '
 
 test_expect_success 'symrefs parameter' '
@@ -171,7 +171,7 @@ test_expect_success 'symrefs parameter' '
 
        git serve --stateless-rpc <in >out &&
        test-pkt-line unpack <out >actual &&
-       test_cmp actual expect
+       test_cmp expect actual
 '
 
 test_expect_success 'sending server-options' '
@@ -191,7 +191,7 @@ test_expect_success 'sending server-options' '
 
        git serve --stateless-rpc <in >out &&
        test-pkt-line unpack <out >actual &&
-       test_cmp actual expect
+       test_cmp expect actual
 '
 
 test_expect_success 'unexpected lines are not allowed in fetch request' '