tests/test-config-case
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
Fri, 08 Jun 2007 23:49:12 -0300
changeset 4528 85a69f4d1e80
parent 3425 ec6f400cff4d
permissions -rwxr-xr-x
test-config-case: print only the Section we're interested in. This allows us to add additional settings to the global hgrc file created by run-tests.py without breaking this test.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3425
ec6f400cff4d Use a case-sensitive version of SafeConfigParser everywhere
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
diff changeset
     1
#!/bin/sh
ec6f400cff4d Use a case-sensitive version of SafeConfigParser everywhere
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
diff changeset
     2
ec6f400cff4d Use a case-sensitive version of SafeConfigParser everywhere
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
diff changeset
     3
echo '[Section]' >> $HGRCPATH
ec6f400cff4d Use a case-sensitive version of SafeConfigParser everywhere
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
diff changeset
     4
echo 'KeY = Case Sensitive' >> $HGRCPATH
ec6f400cff4d Use a case-sensitive version of SafeConfigParser everywhere
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
diff changeset
     5
echo 'key = lower case' >> $HGRCPATH
ec6f400cff4d Use a case-sensitive version of SafeConfigParser everywhere
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
diff changeset
     6
4528
85a69f4d1e80 test-config-case: print only the Section we're interested in.
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 3425
diff changeset
     7
hg showconfig Section