Removeā€¦ something 78/243978/2
authorMateusz Majewski <m.majewski2@samsung.com>
Fri, 11 Sep 2020 12:43:15 +0000 (14:43 +0200)
committerMateusz 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

index a9431ce..48f236f 100644 (file)
@@ -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