From 7a0049d392e37f72ba069d1de2e0356c131234e3 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Leconte Date: Mon, 9 Dec 2024 21:33:56 -0500 Subject: [PATCH] Fix srcenv tests --- srcenv.tests | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/srcenv.tests b/srcenv.tests index b38bc60..284c7ac 100755 --- a/srcenv.tests +++ b/srcenv.tests @@ -540,18 +540,18 @@ run_posix_tests() { run "$1" "$2 -v" 'srcenv 1.5.1' run "$1" "$2 --version" 'srcenv 1.5.1' - run "$1" "$2" '' + run "$and_no_stdin" "$2" '' run "$1" "$2 --invalid" '' 2 run "$1" "$2 init" '' 2 run "$1" "$2 sh not_a_file" '' 1 run "$1" "$2 sh --input not_a_command" '' 127 run "$and_no_stdin" "$2 --export" '' 2 - run "$1" "$2 sh --restore" '' - run "$1" "SRCENV_RESTORE='' $2 sh --restore" '' 5 - run "$1" "$2 --restore" '' 2 - run "$1" "$2 sh --backup --restore" '' 2 - run "$1" "$2 sh --cmd src --backup --restore" '' + run "$1" "$2 sh --restore" '' + run "$1" "SRCENV_RESTORE='' $2 sh --restore" '' 5 + run "$1" "$2 --restore" '' 2 + run "$and_no_stdin" "$2 sh --backup --restore" '' 2 + run "$1" "$2 sh --cmd src --backup --restore" '' run "$1" "$2 sh --input 'echo something'" '' run "$1" "$2 sh --input 'echo something; not_a_command'" '' 127