Add more dlogutil coverage tests 64/297864/2
authorMichal Bloch <m.bloch@samsung.com>
Fri, 25 Aug 2023 14:15:23 +0000 (16:15 +0200)
committerMichal Bloch <m.bloch@samsung.com>
Fri, 25 Aug 2023 14:36:04 +0000 (16:36 +0200)
Change-Id: I4c546d8e3479b7498c9ed2def85b7f710672b018

tests/dlog_coverage.in

index 78957ba..597e385 100644 (file)
@@ -31,6 +31,36 @@ dlogutil -b main -c
 dlogutil -b main -g
 dlogutil -dv threadtime --color always
 dlogutil -dv json
+dlogutil --sort-by height
+dlogutil --color octarine
+dlogutil -v hammertime
+dlogutil -g -b apps
+dlogutil -g -b main
+dlogutil -g -b main -b apps
+dlogutil -m bla -g
+dlogutil -m bla -c
+dlogutil --version
+dlogutil --low-mem-resize low
+dlogutil -e 3 -e 3
+dlogutil :D
+dlogutil -d --pid 123
+dlogutil -d --tid 123
+dlogutil -d -m bla
+
+dlogutil --monitor &
+UTIL=$!
+sleep 2
+kill $UTIL
+
+dlogutil &
+UTIL=$!
+sleep 2
+kill $UTIL
+
+dlogutil NONEXISTENT:F &
+UTIL=$!
+sleep 3
+kill $UTIL
 
 ORIGINAL_CONFIG_PATH="$DLOG_CONFIG_PATH"
 export DLOG_CONFIG_PATH="@datadir@/dlog-coverage.conf"