aboutsummaryrefslogtreecommitdiffstats
path: root/test_usage.sh
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2009-07-10 17:58:49 -0400
committerW. Trevor King <wking@drexel.edu>2009-07-10 17:58:49 -0400
commitf0300038113e2754d83ee73f32a51072ad9b1f3b (patch)
treed0f0f0a8aaff5d812b77b78f82fda9ccabd5c7fe /test_usage.sh
parentc5da71a900d6263e29deb94d81aa22e6ba6f34ea (diff)
downloadbugseverywhere-f0300038113e2754d83ee73f32a51072ad9b1f3b.tar.gz
seems to work ;)
Diffstat (limited to 'test_usage.sh')
-rwxr-xr-xtest_usage.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/test_usage.sh b/test_usage.sh
index b2e2cab..05832d3 100755
--- a/test_usage.sh
+++ b/test_usage.sh
@@ -124,7 +124,13 @@ BUGB=`echo "$OUT" | sed -n 's/Created bug with ID //p'`
be comment $BUGB "Blissfully unaware of a similar bug"
be merge $BUG $BUGB # join BUGB to BUG
be show $BUG # show bug details & comments
+# you can also export/import XML bugs/comments
+OUT=`be new 'yet more fun'`
+BUGC=`echo "$OUT" | sed -n 's/Created bug with ID //p'`
+be comment $BUGC "The ants go marching..."
+be show --xml $BUGC | be comment --xml ${BUG}:2 -
be remove $BUG # decide that you don't like that bug after all
+
cd /
rm -rf $TESTDIR