summaryrefslogtreecommitdiff
path: root/test/system/035-logs.bats
diff options
context:
space:
mode:
authorChih-Hsuan Yen <yan12125@gmail.com>2020-12-04 14:43:34 +0800
committerChih-Hsuan Yen <yan12125@gmail.com>2020-12-04 15:14:31 +0800
commite58fb21ced99db634a38c9e8fbfd04044efe3131 (patch)
tree342cd3e342299007e54409ace8aba486ac21cd7f /test/system/035-logs.bats
parent70284b18cc7d4dc478c439cdda60ba64cfec060b (diff)
downloadpodman-e58fb21ced99db634a38c9e8fbfd04044efe3131.tar.gz
podman-e58fb21ced99db634a38c9e8fbfd04044efe3131.tar.bz2
podman-e58fb21ced99db634a38c9e8fbfd04044efe3131.zip
Support Unix timestamps for `podman logs --since`
To match what podman-logs(1) describes --since Signed-off-by: Chih-Hsuan Yen <yan12125@gmail.com>
Diffstat (limited to 'test/system/035-logs.bats')
-rw-r--r--test/system/035-logs.bats3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/system/035-logs.bats b/test/system/035-logs.bats
index a3d6a5800..a081a7ce1 100644
--- a/test/system/035-logs.bats
+++ b/test/system/035-logs.bats
@@ -21,6 +21,9 @@ load helpers
run_podman logs $cid
is "$output" "$rand_string" "output from podman-logs after container is run"
+ # test --since with Unix timestamps
+ run_podman logs --since 1000 $cid
+
run_podman rm $cid
}