sapling/tests/test-fsmonitor-blackbox.t
Jun Wu 13c490cf4e fsmonitor: use short list when logging notefiles
Summary:
The "fsmonitor returned" file list was made short by D9997658. Do the same
thing for notefiles.

Reviewed By: phillco

Differential Revision: D10865333

fbshipit-source-id: ff31cde04210363e6af04e5578543f1b16310b11
2018-10-29 20:26:34 -07:00

45 lines
732 B
Perl

#require fsmonitor
$ newrepo
$ enable blackbox
$ setconfig blackbox.track=fsmonitor_details
$ hg status
$ touch x
$ hg status
? x
$ touch 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
$ hg status
? 1
? 10
? 11
? 12
? 13
? 14
? 15
? 16
? 17
? 18
? 19
? 2
? 20
? 21
? 22
? 23
? 24
? 25
? 3
? 4
? 5
? 6
? 7
? 8
? 9
? x
$ grep returned .hg/blackbox.log
*> watchman returned ['x'] (glob)
*> watchman returned [*] and 5 more entries (glob)
$ grep 'set clock, notefiles' .hg/blackbox.log
*> set clock, notefiles = '*', [] (glob)
*> set clock, notefiles = '*', ['x'] (glob)
*> set clock, notefiles = '*', [*] and 6 more entries (glob)