##// END OF EJS Templates
tests: don't overwrite HGRCPATH...
Martin Geisler -
r13519:43b3b761 default
parent child Browse files
Show More
@@ -66,6 +66,7 b' testpats = ['
66 (r'^source\b', "don't use 'source', use '.'"),
66 (r'^source\b', "don't use 'source', use '.'"),
67 (r'touch -d', "don't use 'touch -d', use 'touch -t' instead"),
67 (r'touch -d', "don't use 'touch -d', use 'touch -t' instead"),
68 (r'ls\s+[^|-]+\s+-', "options to 'ls' must come before filenames"),
68 (r'ls\s+[^|-]+\s+-', "options to 'ls' must come before filenames"),
69 (r'cat > \$HGRCPATH <<EOF', "append to $HGRCPATH, do not overwrite it"),
69 ]
70 ]
70
71
71 testfilters = [
72 testfilters = [
@@ -1,5 +1,5 b''
1
1
2 $ cat > $HGRCPATH <<EOF
2 $ cat >> $HGRCPATH <<EOF
3 > [extensions]
3 > [extensions]
4 > graphlog =
4 > graphlog =
5 > convert =
5 > convert =
@@ -1,7 +1,7 b''
1
1
2 $ "$TESTDIR/hghave" svn svn-bindings || exit 80
2 $ "$TESTDIR/hghave" svn svn-bindings || exit 80
3
3
4 $ cat > $HGRCPATH <<EOF
4 $ cat >> $HGRCPATH <<EOF
5 > [extensions]
5 > [extensions]
6 > convert =
6 > convert =
7 > graphlog =
7 > graphlog =
@@ -1,7 +1,7 b''
1
1
2 $ "$TESTDIR/hghave" svn svn-bindings || exit 80
2 $ "$TESTDIR/hghave" svn svn-bindings || exit 80
3
3
4 $ cat > $HGRCPATH <<EOF
4 $ cat >> $HGRCPATH <<EOF
5 > [extensions]
5 > [extensions]
6 > convert =
6 > convert =
7 > graphlog =
7 > graphlog =
@@ -5,7 +5,7 b''
5 > {
5 > {
6 > tr '\\' /
6 > tr '\\' /
7 > }
7 > }
8 $ cat > $HGRCPATH <<EOF
8 $ cat >> $HGRCPATH <<EOF
9 > [extensions]
9 > [extensions]
10 > convert =
10 > convert =
11 > graphlog =
11 > graphlog =
@@ -22,7 +22,7 b''
22 > )
22 > )
23 > }
23 > }
24
24
25 $ cat > $HGRCPATH <<EOF
25 $ cat >> $HGRCPATH <<EOF
26 > [extensions]
26 > [extensions]
27 > convert =
27 > convert =
28 > graphlog =
28 > graphlog =
@@ -5,7 +5,7 b''
5 > {
5 > {
6 > tr '\\' /
6 > tr '\\' /
7 > }
7 > }
8 $ cat > $HGRCPATH <<EOF
8 $ cat >> $HGRCPATH <<EOF
9 > [extensions]
9 > [extensions]
10 > convert =
10 > convert =
11 > graphlog =
11 > graphlog =
@@ -1,7 +1,7 b''
1
1
2 $ "$TESTDIR/hghave" svn svn-bindings || exit 80
2 $ "$TESTDIR/hghave" svn svn-bindings || exit 80
3
3
4 $ cat > $HGRCPATH <<EOF
4 $ cat >> $HGRCPATH <<EOF
5 > [extensions]
5 > [extensions]
6 > convert =
6 > convert =
7 > graphlog =
7 > graphlog =
@@ -1,7 +1,7 b''
1
1
2 $ "$TESTDIR/hghave" svn svn-bindings || exit 80
2 $ "$TESTDIR/hghave" svn svn-bindings || exit 80
3
3
4 $ cat > $HGRCPATH <<EOF
4 $ cat >> $HGRCPATH <<EOF
5 > [extensions]
5 > [extensions]
6 > convert =
6 > convert =
7 > graphlog =
7 > graphlog =
@@ -1,6 +1,6 b''
1 Test adding .hgeol
1 Test adding .hgeol
2
2
3 $ cat > $HGRCPATH <<EOF
3 $ cat >> $HGRCPATH <<EOF
4 > [diff]
4 > [diff]
5 > git = 1
5 > git = 1
6 > EOF
6 > EOF
@@ -1,6 +1,6 b''
1 Testing cloning with the EOL extension
1 Testing cloning with the EOL extension
2
2
3 $ cat > $HGRCPATH <<EOF
3 $ cat >> $HGRCPATH <<EOF
4 > [diff]
4 > [diff]
5 > git = True
5 > git = True
6 >
6 >
@@ -1,6 +1,6 b''
1 Test the EOL hook
1 Test the EOL hook
2
2
3 $ cat > $HGRCPATH <<EOF
3 $ cat >> $HGRCPATH <<EOF
4 > [diff]
4 > [diff]
5 > git = True
5 > git = True
6 > EOF
6 > EOF
@@ -1,6 +1,6 b''
1 Test EOL patching
1 Test EOL patching
2
2
3 $ cat > $HGRCPATH <<EOF
3 $ cat >> $HGRCPATH <<EOF
4 > [diff]
4 > [diff]
5 > git = 1
5 > git = 1
6 > EOF
6 > EOF
@@ -2,7 +2,7 b' http://mercurial.selenic.com/bts/issue24'
2
2
3 Testing tagging with the EOL extension
3 Testing tagging with the EOL extension
4
4
5 $ cat > $HGRCPATH <<EOF
5 $ cat >> $HGRCPATH <<EOF
6 > [diff]
6 > [diff]
7 > git = True
7 > git = True
8 >
8 >
@@ -1,6 +1,6 b''
1 Test EOL update
1 Test EOL update
2
2
3 $ cat > $HGRCPATH <<EOF
3 $ cat >> $HGRCPATH <<EOF
4 > [diff]
4 > [diff]
5 > git = 1
5 > git = 1
6 > EOF
6 > EOF
@@ -1,6 +1,6 b''
1 Test EOL extension
1 Test EOL extension
2
2
3 $ cat > $HGRCPATH <<EOF
3 $ cat >> $HGRCPATH <<EOF
4 > [diff]
4 > [diff]
5 > git = True
5 > git = True
6 > EOF
6 > EOF
General Comments 0
You need to be logged in to leave comments. Login now