[PATCH 08/10] Add a script to quickly run an interactive test session.
- From
Yann Dirson <ydirson@altern.org>
- Date
- Mar 15, 2007, 00:27 UTC
- Message-ID
- <20070315002710.9094.91958.stgit@gandelf.nowhere.earth>
- In-Reply-To
- <20070315001808.9094.68529.stgit@gandelf.nowhere.earth>
This uses the capabilities of the test library to provide a throw-away playground to test how the current stgit tree behaves.
To use it, run the following command: (cd t && ./interactive.sh)
You'll get a shell in a brand new git tree. Exiting that shell will get rid of this temporary directory.
Signed-off-by: Yann Dirson <ydirson@altern.org> ---
t/interactive.sh | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/t/interactive.sh b/t/interactive.sh new file mode 100755 index 0000000..e4eaef9 --- /dev/null +++ b/t/interactive.sh @@ -0,0 +1,12 @@ +#!/bin/sh +# +# Copyright (c) 2007 Yann Dirson +# + +test_description='Get a test environment for interactive experimentation.' + +. ./test-lib.sh + +bash + +test_done