|
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)
5732 of 6058 branches covered (94.62%)
Branch coverage included in aggregate %.
21861 of 23556 relevant lines covered (92.8%)
3972348.95 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 10 |
77.88 |
-1.01% | src/lj_api.c |
| 2 |
76.88 |
-0.16% | src/lj_opt_fold.c |
| 2 |
92.0 |
-0.44% | src/luajit.c |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 28652074531.1 | 89 |
93.18 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
|---|