aboutgitcodebugslistschat
path: root/test/lib
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2022-03-15 03:43:39 +0100
committerStefano Brivio <sbrivio@redhat.com>2022-03-28 17:11:40 +0200
commit700ce1f8750c10b3ba461574be710a88c4af8625 (patch)
treeed4ab0cb5e21c5593add4b071f395a7995e46c45 /test/lib
parente5eefe77435a8958681a92546c46e3c05b93ac7b (diff)
downloadpasst-700ce1f8750c10b3ba461574be710a88c4af8625.tar
passt-700ce1f8750c10b3ba461574be710a88c4af8625.tar.gz
passt-700ce1f8750c10b3ba461574be710a88c4af8625.tar.bz2
passt-700ce1f8750c10b3ba461574be710a88c4af8625.tar.lz
passt-700ce1f8750c10b3ba461574be710a88c4af8625.tar.xz
passt-700ce1f8750c10b3ba461574be710a88c4af8625.tar.zst
passt-700ce1f8750c10b3ba461574be710a88c4af8625.zip
test/lib/video: Fill in href attributes of video shortcuts
...so that they can be indexed. Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'test/lib')
-rwxr-xr-xtest/lib/video2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/video b/test/lib/video
index ec79c85..70a6359 100755
--- a/test/lib/video
+++ b/test/lib/video
@@ -141,7 +141,7 @@ video_time_now() {
video_link() {
[ ${VIDEO_LINKS_COUNT} -eq 0 ] && __sep="" || __sep=" |"
__id="video_link_${VIDEO_LINKS_COUNT}"
- video_append_links "${__sep} <a id=\"${__id}\">${1}</a>"
+ video_append_links "${__sep} <a id=\"${__id}\" href=\"${1}\">${1}</a>"
video_append_links_js "[ '${__id}', $(($(video_time_now) - 1)) ],"
VIDEO_LINKS_COUNT=$((VIDEO_LINKS_COUNT + 1))