Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cukinia_test -f is broken #78

Open
AmarOk1412 opened this issue Jun 18, 2024 · 3 comments
Open

cukinia_test -f is broken #78

AmarOk1412 opened this issue Jun 18, 2024 · 3 comments

Comments

@AmarOk1412
Copy link

cukinia_test -f whatever

is broken since last commit (works with CUKINIA_VERSION="0.7.0"

Causing:

./cukinia: 282: local: -f: bad variable name

In latest master

@joufellasfl
Copy link
Contributor

Hello @AmarOk1412 , can you provide a repro case (eg. a container and .conf)?
I'm unable to on my system with dash, ash, bash.

@AmarOk1412
Copy link
Author

as "Check if foo exists" \
    cukinia_test -f foo

Inside a basic docker ubuntu:20.04

I just checked and it's just on ubuntu 20, not 22 or 24.

@joufellasfl
Copy link
Contributor

Thanks, this is reproducible using dash version 0.5.10.2-6 on Ubuntu 20.04. The only other release showing the issue I found is Ubuntu, 20.10 (dash 0.5.10.2-7).

It looks like dash 0.5.10 has an issue where it dies with no error, but not the other versions (and shells). I'd suggest editing the cukinia shebang to use /bin/bash which should be available on a base Ubuntu as well ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants