tests/test-largefiles.t
changeset 16439 290850e7aa43
parent 16351 d6a4cfefafb3
child 16449 874a680a3e23
--- a/tests/test-largefiles.t	Mon Apr 16 08:50:40 2012 -0700
+++ b/tests/test-largefiles.t	Mon Apr 16 17:03:39 2012 +0200
@@ -761,6 +761,19 @@
   $ cat sub2/large7
   large7
 
+Cat a largefile
+  $ hg cat normal3
+  normal3-modified
+  $ hg cat sub/large4
+  large4-modified
+  $ rm ${USERCACHE}/*
+  $ hg cat -r a381d2c8c80e -o cat.out sub/large4
+  $ cat cat.out
+  large4-modified
+  $ rm cat.out
+  $ hg cat -r a381d2c8c80e normal3
+  normal3-modified
+
 Test that renaming a largefile results in correct output for status
 
   $ hg rename sub/large4 large4-renamed