diff mbox series

[RFC/PoC,4/5] Doc Bundles: add t6102 rev-list simple and pulls examples

Message ID 20221102224843.2104-5-philipoakley@iee.email (mailing list archive)
State New, archived
Headers show
Series Provide example docbundles | expand

Commit Message

Philip Oakley Nov. 2, 2022, 10:48 p.m. UTC
The choice of the t6012-rev-list-simplify examples as the initial
examples is somewhat arbitrary, and based on having the example
available in my editor at the time.

The environment variable GIT_BUILD_DIR is expected to contain
the absolute path to that directory. Later commits will set that up
in the test-lib-setup.

Signed-off-by: Philip Oakley <philipoakley@iee.email>
---
 t/t6012-rev-list-simplify.sh | 8 ++++++++
 1 file changed, 8 insertions(+)
diff mbox series

Patch

diff --git a/t/t6012-rev-list-simplify.sh b/t/t6012-rev-list-simplify.sh
index de1e87f162..8931102392 100755
--- a/t/t6012-rev-list-simplify.sh
+++ b/t/t6012-rev-list-simplify.sh
@@ -101,6 +101,10 @@  test_expect_success setup '
 	note L
 '
 
+test_expect_success 'bundle simple repo' '
+	git bundle create ${GIT_BUNDLE_DIR}/t6102-rev-list-simple.bndl --all
+'
+
 FMT='tformat:%P 	%H | %s'
 
 check_outcome () {
@@ -240,6 +244,10 @@  test_expect_success 'setup rebuild repo' '
 	note P
 '
 
+test_expect_success 'bundle pulls repo' '
+	git bundle create ${GIT_BUNDLE_DIR}/t6102-rev-list-pulls.bndl --all
+'
+
 check_result 'X I' -- file
 check_result 'N R X I' --show-pulls -- file