aboutsummaryrefslogtreecommitdiffstats
path: root/test_usage.sh
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2008-11-24 21:20:56 -0500
committerW. Trevor King <wking@drexel.edu>2008-11-24 21:20:56 -0500
commite6d48051cbce1f74ec3c50fc0ccb72003258889e (patch)
tree91a4ea040eda5f35e3feba3a58d4294d33458126 /test_usage.sh
parent4c6f8ceeafd1eadb4de8f86fed93f779613deece (diff)
downloadbugseverywhere-e6d48051cbce1f74ec3c50fc0ccb72003258889e.tar.gz
Added becommands/merge to join duplicate bugs.
Diffstat (limited to 'test_usage.sh')
-rwxr-xr-xtest_usage.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/test_usage.sh b/test_usage.sh
index 43b5d4d..caa5388 100755
--- a/test_usage.sh
+++ b/test_usage.sh
@@ -95,6 +95,8 @@ echo "$OUT"
BUG=`echo "$OUT" | sed -n 's/Created bug with ID //p'`
echo "Working with bug: $BUG"
be comment $BUG "This is an argument"
+be set user_id "$ID" # get tired of guessing user id for none RCS
+be set # show settings
be comment $BUG:1 "No it isn't" # comment on the first comment
be show $BUG # show details on a given bug
be close $BUG # set bug status to 'closed'
@@ -102,7 +104,6 @@ be comment $BUG "It's closed, but I can still comment."
be open $BUG # set bug status to 'open'
be comment $BUG "Reopend, comment again"
be status $BUG fixed # set bug status to 'fixed'
-be show $BUG # show bug details & comments
be list # list all open bugs
be list --status fixed # list all fixed bugs
be assign $BUG # assign the bug to yourself
@@ -111,6 +112,11 @@ be assign $BUG 'Joe' # assign the bug to Joe
be list -a Joe -s fixed # list the fixed bugs assigned to Joe
be assign $BUG none # assign the bug to noone
be diff # see what has changed
+OUT=`be new 'also having too much fun'`
+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
be remove $BUG # decide that you don't like that bug after all
cd /
rm -rf $TESTDIR