projects
/
platform
/
core
/
system
/
dlog.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a48c21e
)
Removeā¦ something
78/243978/2
author
Mateusz Majewski
<m.majewski2@samsung.com>
Fri, 11 Sep 2020 12:43:15 +0000
(14:43 +0200)
committer
Mateusz Majewski
<m.majewski2@samsung.com>
Mon, 14 Sep 2020 05:55:53 +0000
(07:55 +0200)
This line is obviously bogus. It looks like it always calls continue,
but the reality is not so simple; -eq is arithmetic comparision, and the
contents of $line are not numbers. After removing the line, the test
still works.
Change-Id: I9093943086018f0eed2c8f5bc10ebcaf57c0f143
tests/dlog_test.in
patch
|
blob
|
history
diff --git
a/tests/dlog_test.in
b/tests/dlog_test.in
index
a9431ce
..
48f236f
100644
(file)
--- a/
tests/dlog_test.in
+++ b/
tests/dlog_test.in
@@
-954,8
+954,6
@@
if [ "$quick" -ne 1 ]; then
continue
fi
- [ "$line" -eq "$line" ] 2>/dev/null && continue
-
ts=$(extract_timestamp "$format" "$line")
if [ "$ts" -ge "$prev_ts" ]; then