summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e7db67e)
raw | patch | inline | side by side (parent: e7db67e)
author | Eric Wong <normalperson@yhbt.net> | |
Fri, 12 Jan 2007 01:55:50 +0000 (17:55 -0800) | ||
committer | Eric Wong <normalperson@yhbt.net> | |
Fri, 23 Feb 2007 08:57:08 +0000 (00:57 -0800) |
Signed-off-by: Eric Wong <normalperson@yhbt.net>
t/t9101-git-svn-props.sh | patch | blob | history |
index e8133d81cb12f22cf4445a63d21d5e595c84fcb0..622ea1c0df1cdfcbabcd9a884abe151c4d0dff53 100755 (executable)
--- a/t/t9101-git-svn-props.sh
+++ b/t/t9101-git-svn-props.sh
test_expect_success 'CRLF + $Id$' "test '$a_cr' = '$b_cr'"
test_expect_success 'CRLF + $Id$ (no newline)' "test '$a_ne_cr' = '$b_ne_cr'"
+cat > show-ignore.expect <<\EOF
+
+# /
+/no-such-file*
+
+# deeply
+/deeply/no-such-file*
+
+# deeply/nested
+/deeply/nested/no-such-file*
+
+# deeply/nested/directory
+/deeply/nested/directory/no-such-file*
+EOF
+
+test_expect_success 'test show-ignore' "
+ cd test_wc &&
+ mkdir -p deeply/nested/directory &&
+ svn add deeply &&
+ svn propset -R svn:ignore 'no-such-file*' .
+ svn commit -m 'propset svn:ignore'
+ cd .. &&
+ git-svn show-ignore > show-ignore.got &&
+ cmp show-ignore.expect show-ignore.got
+ "
+
test_done