Merge branch 'fg/exclude-bq'
[gitweb.git] / t / t5702-clone-options.sh
index 328e4d9a339101d04bb22e441a8955f6c2e1f260..27825f5f31ca2310e08fd2555589aa878728b292 100755 (executable)
@@ -19,4 +19,17 @@ test_expect_success 'clone -o' '
 
 '
 
+test_expect_success 'redirected clone' '
+
+       git clone "file://$(pwd)/parent" clone-redirected >out 2>err &&
+       test ! -s err
+
+'
+test_expect_success 'redirected clone -v' '
+
+       git clone -v "file://$(pwd)/parent" clone-redirected-v >out 2>err &&
+       test -s err
+
+'
+
 test_done