|
Ran
|
Jobs
1
|
Files
89
|
Run time
1min
|
Badge
README BADGES
|
push
github
test: skip lj-1470 test for unconfigured timezones `os.time()` uses `mktime()` to specify time by the given table. `mktime()` produces the call to `tzset()` to determine the system's timezone. If the TZ variable does not appear in the environment, the system timezone is used. The system timezone is configured by copying, or linking, a file in the tzfile(5) format to /etc/localtime. So, if this file is omitted (like in RED OS), the errno is set to a non-zero value. This leads to the nil returned by the `os.time()` for -1 time value. This patch skips the test if this file is missed to be sure that we don't obtain any false positive failures due to system misconfigurations. Reviewed-by: Evgeniy Temirgaleev <e.temirgaleev@tarantool.org> Reviewed-by: Sergey Bronnikov <sergeyb@tarantool.org> Signed-off-by: Sergey Kaplun <skaplun@tarantool.org> (cherry picked from commit 712e6d859)
12720 of 15755 branches covered (80.74%)
Branch coverage included in aggregate %.
21873 of 23556 relevant lines covered (92.86%)
3962677.91 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 4 |
89.56
|
-4.85% | src/lj_ir.c |
| 2 |
81.8
|
-6.89% | src/lj_crecord.c |
| 1 |
92.8
|
-3.96% | src/lj_record.c |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 40295375528.1 | 89 |
88.0
|
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
|---|