diff tests/test-globalopts @ 4728:7bb5bcb089e3

Added test for earlygetopt fixes (36d23de02da1 and 79cc512a34ed)
author Thomas Arendsen Hein <thomas@intevation.de>
date Tue, 26 Jun 2007 18:39:28 +0200
parents 46280c004f22
children b0520e3903fe
line wrap: on
line diff
--- a/tests/test-globalopts	Tue Jun 26 18:35:31 2007 +0200
+++ b/tests/test-globalopts	Tue Jun 26 18:39:28 2007 +0200
@@ -28,6 +28,15 @@
 echo %% abbrev of long option
 hg --repo c tip
 
+echo "%% earlygetopt with duplicate options (36d23de02da1)"
+hg --cwd a --cwd b --cwd c tip
+hg --repo c --repository b -R a tip
+
+echo "%% earlygetopt short option without spaces (79cc512a34ed)"
+hg -qR a tip
+hg -q -Rb tip
+hg -qRc tip
+
 echo %% --cwd
 hg --cwd a parents