public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Zhihang Wei <wzh@ilbers.de>
To: Clara Kowalsky <clara.kowalsky@siemens.com>, isar-users@googlegroups.com
Cc: felix.moessbauer@siemens.com
Subject: Re: [PATCH] test-container: preserve history across shell invocations
Date: Thu, 29 Oct 2026 15:21:07 +0100	[thread overview]
Message-ID: <ffd1e4c6-09a8-440f-9be8-336e17e799df@ilbers.de> (raw)
In-Reply-To: <20261022162636.862867-1-clara.kowalsky@siemens.com>

Applied to next, thanks.

Zhihang

On 10/22/26 18:26, 'Clara Kowalsky' via isar-users wrote:
> When using `scripts/run-tests.sh --shell`, it is practical if the
> shell history is kept.
> Set HISTFILE to /work/.isar_test_shell_history, so commands are saved
> in the work directory and can be recalled across sessions.
> Also add the new file to .gitignore.
>
> Signed-off-by: Clara Kowalsky <clara.kowalsky@siemens.com>
> ---
>   .gitignore                                     | 1 +
>   testsuite/dockerdata/test-container-entrypoint | 2 +-
>   2 files changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/.gitignore b/.gitignore
> index fff155f1..b5f6149e 100644
> --- a/.gitignore
> +++ b/.gitignore
> @@ -3,4 +3,5 @@
>   __pycache__
>   .config.yaml*
>   .kas_shell_history
> +.isar_test_shell_history
>   build*
> diff --git a/testsuite/dockerdata/test-container-entrypoint b/testsuite/dockerdata/test-container-entrypoint
> index aa3def79..49771c15 100755
> --- a/testsuite/dockerdata/test-container-entrypoint
> +++ b/testsuite/dockerdata/test-container-entrypoint
> @@ -121,7 +121,7 @@ EOF
>   cd /isar
>   
>   if [ "${start_shell}" = 1 ]; then
> -	bash
> +	HISTFILE=/work/.isar_test_shell_history bash
>   else
>   	set -x
>   	avocado ${showopt} run ${args}

-- 
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/ffd1e4c6-09a8-440f-9be8-336e17e799df%40ilbers.de.

      reply	other threads:[~2026-10-29 14:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-22 16:26 'Clara Kowalsky' via isar-users
2026-10-29 14:21 ` Zhihang Wei [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=ffd1e4c6-09a8-440f-9be8-336e17e799df@ilbers.de \
    --to=wzh@ilbers.de \
    --cc=clara.kowalsky@siemens.com \
    --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