public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Aliaksei Karpovich <akarpovich@ilbers.de>
To: Felix Moessbauer <felix.moessbauer@siemens.com>,
	isar-users@googlegroups.com
Subject: Re: [PATCH 1/1] testsuite: add test for isar-built package with epoch
Date: Mon, 10 Aug 2026 18:03:35 +0300	[thread overview]
Message-ID: <59c847ae-780d-419c-9ee1-844cc950e49a@ilbers.de> (raw)
In-Reply-To: <20260810145205.1916489-1-felix.moessbauer@siemens.com>


On 8/10/26 17:52, Felix Moessbauer wrote:
> This ensures that these packages are correctly handled by the isar-apt
> download logic in rootfs_install_pkgs_isar_download.
>
> Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
> ---
> Note, this depends on "fix(rootfs): correctly handle handle special package
> names in isar-apt"
>
> Best regards,
> Felix
>
>   .../test-with-epoch/test-with-epoch_1.0.bb         | 14 ++++++++++++++
>   testsuite/citest.py                                |  7 +++++++
>   2 files changed, 21 insertions(+)
>   create mode 100644 meta-test/recipes-app/test-with-epoch/test-with-epoch_1.0.bb
>
> diff --git a/meta-test/recipes-app/test-with-epoch/test-with-epoch_1.0.bb b/meta-test/recipes-app/test-with-epoch/test-with-epoch_1.0.bb
> new file mode 100644
> index 00000000..556bdf49
> --- /dev/null
> +++ b/meta-test/recipes-app/test-with-epoch/test-with-epoch_1.0.bb
> @@ -0,0 +1,14 @@
> +# This software is a part of Isar.
> +# Copyright (C) 2026 Siemens AG
> +#
> +# SPDX-License-Identifier: MIT
> +
> +# Test that a .deb with an epoch in its version is properly handled
> +# by isar-apt.
> +
> +inherit dpkg-raw
> +
> +MAINTAINER = "isar-users <isar-users@googlegroups.com>"
> +DESCRIPTION = "Test package with epoch in version"
> +
> +CHANGELOG_V = "1:1.0-1"
Maybe it's make sense to add several symbols ('+' and '~') in version to 
check also the percentage decoding ?

Regards,
Aliaksei
> diff --git a/testsuite/citest.py b/testsuite/citest.py
> index fb58421e..7dca7954 100644
> --- a/testsuite/citest.py
> +++ b/testsuite/citest.py
> @@ -489,6 +489,13 @@ class CrossTest(CIBaseTest):
>               bitbake_extra_args=["-c", "rootfs_install"]
>           )
>   
> +    def test_package_with_epoch(self):
> +        self.init()
> +        self.perform_build_test(
> +            ['mc:qemuamd64-trixie:isar-image-base'],
> +            image_install='test-with-epoch',
> +            bitbake_extra_args=["-c", "rootfs_install"])
> +
>       def test_cross_riscv64(self):
>           """
>           :avocado: tags=riscv64

-- 
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/59c847ae-780d-419c-9ee1-844cc950e49a%40ilbers.de.

      reply	other threads:[~2026-08-10 15:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-10 14:52 'Felix Moessbauer' via isar-users
2026-08-10 15:03 ` Aliaksei Karpovich [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=59c847ae-780d-419c-9ee1-844cc950e49a@ilbers.de \
    --to=akarpovich@ilbers.de \
    --cc=felix.moessbauer@siemens.com \
    --cc=isar-users@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox