File tree Expand file tree Collapse file tree 4 files changed +142
-1
lines changed Expand file tree Collapse file tree 4 files changed +142
-1
lines changed Original file line number Diff line number Diff line change 88
99jobs :
1010 test :
11- timeout-minutes : 5
11+ timeout-minutes : 2
1212 runs-on : ubuntu-latest
1313 steps :
1414 - uses : actions/checkout@v3
1818 - run : echo '2000-01-01T00:00:00' > file.log
1919 - run : time ./diff-logs < file.log
2020 - run : time ./diff-logs file.log file.log
21+ - run : time tests/test.sh
2122
2223 workflow-keepalive :
2324 if : github.event_name == 'schedule'
Original file line number Diff line number Diff line change 1+ # Datetime ISO
2+ 2020-03-13 16:20:00
3+ 2020-03-13 16:20:00.000
4+ 2020-03-13 16:20:00.000000Z
5+ 2020-03-13 16:20:00 ,0
6+
7+ # Datetime RFC
8+ Mon , 13 Mar 2020 16:20:00 CET
9+
10+ # Datetime
11+ 13-03-2020 16:20:00.0
12+
13+ # Datetime (ls -l)
14+ Mar 13 16:20
15+
16+ # Duration
17+ 12.3s
18+ 12.3sec
19+
20+ # Duration
21+ in 12.3
22+ since 12.3
23+
24+ # File/download size
25+ 100MiB
26+ 100 GB
27+ 1000 K
28+
29+ # IPv4
30+ 192.168.1.1
31+
32+ # Remote port
33+ :12345
34+
35+ # Remote port
36+ port 12345
37+
38+ # ETag header
39+ ETag: W/"foobar"
40+
41+ # Temporary files
42+ /tmp/foobar-x5SU7aN
43+
44+ # Docker build steps
45+ # 13 3.1
46+ # 13 3.1
47+
48+ # Strace process PIDs
49+ pid 12345
50+ pid=12345
51+
52+ # Strace process PIDs
53+ strace: Process 12345
54+
55+ # UUID
56+ dddddddd-dddd-dddd-dddd-dddddddd
57+
58+ # Payload
59+ OS8xMSB3YXMgYW4gaW5zaWRlIGpvYgo
60+
61+ # Hash digest
62+ af09af09
63+ AF09AF09
64+
65+ # Progress bar
66+ ━━━━━━━━━━━━━━ 73.5/73.5 kB 5.9 MB/s eta 0:00:00
67+ 100%|===========| eta
68+ 76%|████████████████████████ | 756/1000 [00:33<00:10 , 20.0it/s]
Original file line number Diff line number Diff line change 1+ # Datetime ISO
2+ 2111-11-11 11:11:11
3+ 2111-11-11 11:11:11
4+ 2111-11-11 11:11:11
5+ 2111-11-11 11:11:11
6+
7+ # Datetime RFC
8+ Thu , 11 Nov 2111 11:11:11 GMT
9+
10+ # Datetime
11+ 11-11-2111 11:11:11.111111
12+
13+ # Datetime (ls -l)
14+ Nov 11 11:11
15+
16+ # Duration
17+ 1.1s
18+ 1.1s
19+
20+ # Duration
21+ in 1.1
22+ in 1.1
23+
24+ # File/download size
25+ 1 MiB
26+ 1 GB
27+ 1 K
28+
29+ # IPv4
30+ 11.1.1.1
31+
32+ # Remote port
33+ :11111
34+
35+ # Remote port
36+ port 11111
37+
38+ # ETag header
39+ ETag: W/"ETag"
40+
41+ # Temporary files
42+ /tmp/d1ff1065
43+
44+ # Docker build steps
45+ # 13 1
46+ # 13 1
47+
48+ # Strace process PIDs
49+ pid 11111
50+ pid=11111
51+
52+ # Strace process PIDs
53+ strace: Process 111111
54+
55+ # UUID
56+ d1ff1065-d1ff-1065-1007-d1ff1065
57+
58+ # Payload
59+ d1ff1065
60+
61+ # Hash digest
62+ d1ff1065
63+ d1ff1065
64+
65+ # Progress bar
66+ ━━━━━
67+ ━━━━━
68+ ━━━━━
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ set -eu
3+ cd " ${0%/* } "
4+ diff test.out.txt <( ../diff-logs < test.in.txt)
You can’t perform that action at this time.
0 commit comments