sapling/eden/scm/tests/test-status-mlog.t
Jun Wu 75a8173a10 tests: enable chg for 572 tests
Summary:
Add `#chg-compatible` to 572 tests that seem to pass with chg enabled.
This should make them run faster.

Reviewed By: xavierd

Differential Revision: D18870507

fbshipit-source-id: fe895e733efffc9286cd3d17c7a156c803124395
2019-12-09 15:26:29 -08:00

32 lines
812 B
Perl

#chg-compatible
Test logging of "M" entries
$ newrepo
$ setconfig experimental.samplestatus=2 blackbox.track=status
$ echo 1 > a
$ hg commit -A a -m a
$ echo 2 >> a
$ hg status
M a
$ hg blackbox --no-timestamp --no-sid --pattern '{"legacy_log":{"service":"status"}}'
[legacy][status] M a: size changed (2 -> 4)
$ sleep 1
$ rm -rf a .hg/blackbox*
$ touch a
$ hg status
M a
$ hg blackbox --no-timestamp --no-sid --pattern '{"legacy_log":{"service":"status"}}'
[legacy][status] M a: size changed (2 -> 0), os.stat size = 0
$ sleep 1
$ rm -rf .hg/blackbox*
$ echo 1 > a
$ hg status
$ hg blackbox --no-timestamp --no-sid --pattern '{"legacy_log":{"service":"status"}}'
[legacy][status] L a: mtime changed (* -> *) (glob)
[legacy][status] C a: checked in filesystem