Tanmay Patil
476e69ee20
Windows: Fix tests
2024-04-21 18:06:15 +05:30
Tanmay Patil
65993d6a13
Add tests for diff FILE DIRECTORY
2024-04-21 16:10:48 +05:30
Tanmay Patil
39d2ece187
Handle directory-file and file-directory comparisons in the diff
...
GNU diff treats `diff DIRECTORY FILE` as `diff DIRECTORY/FILE FILE`
2024-04-21 16:10:48 +05:30
Tanmay Patil
900e1c3a68
Tests: Replace modification time in diff with "TIMESTAMP" placeholder
2024-04-14 13:43:30 +05:30
Tanmay Patil
86bd05c739
Merge branch 'context-diff-modification-time' of github.com:TanmayPatil105/diffutils into context-diff-modification-time
2024-04-10 22:31:09 +05:30
Tanmay Patil
00e18a6b0c
Define assert_diff_eq macro for context&unified diff comparison
2024-04-10 22:20:48 +05:30
Olivier Tilloy
e1c319f96b
Add an integration test for reading from "/dev/stdin" on unix-like systems
2024-04-08 22:36:14 +02:00
Olivier Tilloy
6dc34fed44
Handle the rewrite of "-" to "/dev/stdin" in main to leave the filenames unchanged ( fixes #46 )
2024-04-08 20:21:24 +02:00
Olivier Tilloy
6a152cdc7f
Add an integration test for reading data from stdin
2024-04-02 22:34:42 +02:00
Olivier Tilloy
4ed7ea1553
Implement -q/--brief option ( fixes #19 ) ( #20 )
...
* Implement -q/--brief option
* Optimization: stop analyzing the files as soon as there are any differences
* Unit tests for the stop_early parameter
* Simplify checks
2024-03-19 11:45:06 +01:00
Olivier Tilloy
c68d386170
Implement -s/--report-identical-files option ( fixes #23 )
2024-03-01 14:45:41 +01:00
Olivier Tilloy
0a67bf9fb8
Add integration tests that check the exit codes and stdout/stderr
2024-02-22 17:26:24 +01:00
Olivier Tilloy
790ef1e633
Run the GNU test suite in CI ( fixes #8 ) ( #13 )
2024-02-17 15:27:52 +01:00