Commit Graph

4 Commits

Author SHA1 Message Date
Stefan Filip
829d5fa23e tests: fix test-hg-absorb diff settings
Summary:
It seems that on Windows the execbit feature is not enabled.
This means that git diff format is not set. I think that the
test could do without this update but I'll keep it for now.

Reviewed By: quark-zju

Differential Revision: D17703428

fbshipit-source-id: ff44c3187ec957509a07ae99ac340450d3008656
2019-10-01 18:35:04 -07:00
Stefan Filip
34cf9b976b tests: remove whitespace from test-absorb
Summary: Fixes test-check-code.t

Reviewed By: singhsrb

Differential Revision: D17695548

fbshipit-source-id: 6f9713bef8e3fb4842dda7bf8ba2633ada96126a
2019-10-01 14:49:59 -07:00
Jun Wu
edbaa1b522 test-absorb: fix the test
Summary:
- Implement a basic grep.
- Implement a naive `sedi`.
- Replace some shell for loops using Python for loops.
- Replace some shell code in Python.

Reviewed By: mitrandir77

Differential Revision: D17616051

fbshipit-source-id: 2fcc19a928989b66e5e9502e10aa07c37b8d1056
2019-10-01 10:45:44 -07:00
Jun Wu
43a605ef7b tests: auto translate "test-absorb.t"
Summary:
This is done by running:

  ./translate "test-absorb.t"

Reviewed By: xavierd

Differential Revision: D17616050

fbshipit-source-id: 7d2e9e4bce88f7702af5a512ee3b4d49c89002f5
2019-10-01 10:45:43 -07:00