chiark / gitweb /
Add a script to quickly run an interactive test session.
authorYann Dirson <ydirson@altern.org>
Fri, 16 Mar 2007 22:45:45 +0000 (22:45 +0000)
committerCatalin Marinas <catalin.marinas@gmail.com>
Fri, 16 Mar 2007 22:45:45 +0000 (22:45 +0000)
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 [new file with mode: 0755]

diff --git a/t/interactive.sh b/t/interactive.sh
new file mode 100755 (executable)
index 0000000..e4eaef9
--- /dev/null
@@ -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