diff tests/test-symlink-basic @ 4572:6a8e1dd18ba2

commands.commit: symlinks are supported
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
date Wed, 13 Jun 2007 19:15:58 -0300
parents af4f0d52f948
children 25d753efd48e
line wrap: on
line diff
--- a/tests/test-symlink-basic	Wed Jun 13 19:15:58 2007 -0300
+++ b/tests/test-symlink-basic	Wed Jun 13 19:15:58 2007 -0300
@@ -1,5 +1,10 @@
 #!/bin/sh
 
+cleanpath()
+{
+    sed -e "s:/.*\(/test-symlink-basic/.*\):...\1:"
+}
+
 cat >> readlink.py <<EOF
 import os
 import sys
@@ -11,6 +16,7 @@
 hg init a
 cd a
 ln -s nothing dangling
+hg commit -m 'commit symlink without adding' -d '0 0' dangling 2>&1 | cleanpath
 hg add dangling
 hg commit -m 'add symlink' -d '0 0'