Thread (73 messages) flat view 73 messages, 5 authors, 2016-06-15

Re: [PATCH v2 18/19] t: add basic bitmap functionality tests

From: SZEDER Gábor <hidden>
Date: 2016-06-15 22:59:07

On Fri, Oct 25, 2013 at 02:04:38AM -0400, Jeff King wrote:
quoted hunk ↗ jump to hunk
diff --git a/t/t5310-pack-bitmaps.sh b/t/t5310-pack-bitmaps.sh
new file mode 100755
index 0000000..0868725
--- /dev/null
+++ b/t/t5310-pack-bitmaps.sh
@@ -0,0 +1,114 @@
+#!/bin/sh
+
+test_description='exercise basic bitmap functionality'
+. ./test-lib.sh
+
+test_expect_success 'setup repo with moderate-sized history' '
+	for i in $(test_seq 1 10); do
+		test_commit $i
+	done &&
+	git checkout -b other HEAD~5 &&
+	for i in `test_seq 1 10`; do
+		test_commit side-$i
+	done &&
Sorry, style nitpick: could you rewrite this command substitution
using $() like a few lines above?
+test_expect_success 'setup further non-bitmapped commits' '
+	for i in `test_seq 1 10`; do
+		test_commit further-$i
+	done
+'
Likewise.


Best,
Gábor
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help