tests/test-status-color
changeset 8945 7b3d837ca60e
parent 7458 03dd55115985
child 10223 51421ab573de
equal deleted inserted replaced
8944:dda4ad7c9ea9 8945:7b3d837ca60e
    59 echo "test" >> modified
    59 echo "test" >> modified
    60 hg remove removed
    60 hg remove removed
    61 rm deleted
    61 rm deleted
    62 hg copy modified copied
    62 hg copy modified copied
    63 
    63 
       
    64 echo "% test unknown color"
       
    65 hg --config color.status.modified=periwinkle status --color=always
       
    66 
    64 # Run status with 2 different flags.
    67 # Run status with 2 different flags.
    65 # Check if result is the same or different.
    68 # Check if result is the same or different.
    66 # If result is not as expected, raise error
    69 # If result is not as expected, raise error
    67 assert() {
    70 assert() {
    68     hg status --color=always $1 > ../a
    71     hg status --color=always $1 > ../a