Add basic qsave/qrestore test.
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/test-mq-qsave Mon Aug 07 14:48:24 2006 -0700
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+HGRCPATH=$HGTMP/.hgrc; export HGRCPATH
+echo "[extensions]" >> $HGTMP/.hgrc
+echo "mq=" >> $HGTMP/.hgrc
+
+hg init a
+cd a
+
+echo 'base' > base
+hg ci -Ambase -d '1 0'
+
+hg qnew -mmqbase mqbase
+
+hg qsave
+hg qrestore 2
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/test-mq-qsave.out Mon Aug 07 14:48:24 2006 -0700
@@ -0,0 +1,2 @@
+adding base
+restoring status: hg patches saved state