@@ -124,13 +124,13 @@ run_conmon_with_log_opts() {
124124 --log-label " CONMON_TEST_LABEL2=$CTR_ID "
125125
126126 run journalctl --user CONMON_TEST_LABEL1=" $CTR_ID "
127- assert " ${output} " =~ " hello from busybox "
127+ assert " ${output} " =~ " hello from ubi10 "
128128
129129 run journalctl --user CONMON_TEST_LABEL2=" $CTR_ID "
130- assert " ${output} " =~ " hello from busybox "
130+ assert " ${output} " =~ " hello from ubi10 "
131131
132132 run journalctl --user NON_EXISTING_LABEL=" $CTR_ID "
133- assert " ${output} " ! ~ " hello from busybox "
133+ assert " ${output} " ! ~ " hello from ubi10 "
134134}
135135
136136@test " ctr logs: k8s-file with --log-tag" {
@@ -147,13 +147,13 @@ run_conmon_with_log_opts() {
147147 --log-tag " tag_$CTR_ID "
148148
149149 run journalctl --user CONTAINER_TAG=" tag_$CTR_ID "
150- assert " ${output} " =~ " hello from busybox "
150+ assert " ${output} " =~ " hello from ubi10 "
151151}
152152
153153@test " ctr logs: journald partial message" {
154154 # Print a message longer than the conmon buffer.
155155 # It should split it into multiple partial messages.
156- setup_container_env " printf '%*s' " 65535" | /busybox tr ' ' '#'"
156+ setup_container_env " printf '%*s' " 65535" | tr ' ' '#'"
157157 run_conmon_with_default_args \
158158 --log-path " journald:"
159159
@@ -164,7 +164,7 @@ run_conmon_with_log_opts() {
164164@test " ctr logs: k8s partial message" {
165165 # Print a message longer than the conmon buffer.
166166 # It should split it into multiple partial messages.
167- setup_container_env " printf '%*s' " 65535" | /busybox tr ' ' '#'"
167+ setup_container_env " printf '%*s' " 65535" | tr ' ' '#'"
168168 run_conmon_with_default_args \
169169 --log-path " k8s-file:$LOG_PATH "
170170
0 commit comments