equal
deleted
inserted
replaced
1212 > #if windows |
1212 > #if windows |
1213 > $ test "\$TESTDIR" = "$TESTTMP\anothertests" |
1213 > $ test "\$TESTDIR" = "$TESTTMP\anothertests" |
1214 > #else |
1214 > #else |
1215 > $ test "\$TESTDIR" = "$TESTTMP"/anothertests |
1215 > $ test "\$TESTDIR" = "$TESTTMP"/anothertests |
1216 > #endif |
1216 > #endif |
1217 > $ test "\$RUNTESTDIR" = "$TESTDIR" |
1217 > If this prints a path, that means RUNTESTDIR didn't equal |
|
1218 > TESTDIR as it should have. |
|
1219 > $ test "\$RUNTESTDIR" = "$TESTDIR" || echo "\$RUNTESTDIR" |
|
1220 > This should print the start of check-code. If this passes but the |
|
1221 > previous check failed, that means we found a copy of check-code at whatever |
|
1222 > RUNTESTSDIR ended up containing, even though it doesn't match TESTDIR. |
1218 > $ head -n 3 "\$RUNTESTDIR"/../contrib/check-code.py | sed 's@.!.*python@#!USRBINENVPY@' |
1223 > $ head -n 3 "\$RUNTESTDIR"/../contrib/check-code.py | sed 's@.!.*python@#!USRBINENVPY@' |
1219 > #!USRBINENVPY |
1224 > #!USRBINENVPY |
1220 > # |
1225 > # |
1221 > # check-code - a style and portability checker for Mercurial |
1226 > # check-code - a style and portability checker for Mercurial |
1222 > EOF |
1227 > EOF |