Skip to content

Regression updates: Improved logging, made all tests work unattended, and added test-am-regress (run all tests)#2282

Merged
ivan-hc merged 6 commits intoivan-hc:mainfrom
vishnu350:main
Apr 19, 2026
Merged

Regression updates: Improved logging, made all tests work unattended, and added test-am-regress (run all tests)#2282
ivan-hc merged 6 commits intoivan-hc:mainfrom
vishnu350:main

Conversation

@vishnu350
Copy link
Copy Markdown
Contributor

Regression testing updates:

  • Improved logging mechanism for full regression runs
  • Made all tests work unattended (user inputs no longer needed)
  • Added test-am-regress (runs all tests and prints a summary file).

Just kick off test-am-regress.sh and take a cup of coffee, and then come back and check the results (pass/fail).

@ivan-hc ivan-hc merged commit 1f2c391 into ivan-hc:main Apr 19, 2026
@vishnu350
Copy link
Copy Markdown
Contributor Author

Hi @ivan-hc, is there a shortcut to remove all installed apps?

@ivan-hc
Copy link
Copy Markdown
Owner

ivan-hc commented Apr 19, 2026

Nope, but you can do a for loop to run all the "remove" scripts:

apps=$(ls /path/to/all/apps/ | xargs)
for a in $apps; do
    /path/to/all/apps/"$a"/remove
done

The above is for AppMan specifically.

If you want to remove all apps from AM without removing AM itself, do

apps=$(ls /opt/ | xargs)
for a in $apps; do
    if [ "$a" != am ]; then
       sudo /opt/"$a"/remove
    fi
done

@vishnu350
Copy link
Copy Markdown
Contributor Author

BTW does sandboxing work? Seems like sas doesn't want to run properly inside podman, cant make a test for it.

@ivan-hc
Copy link
Copy Markdown
Owner

ivan-hc commented Apr 20, 2026

BTW does sandboxing work? Seems like sas doesn't want to run properly inside podman, cant make a test for it.

sas is a bubblewrap fronted. You can ask to @Samueru-sama about it.

@vishnu350
Copy link
Copy Markdown
Contributor Author

Hi @Samueru-sama.

Do you have any idea how to get sas or aisap working in rootless podman? Sas gives this error:
💀 ERROR: This system is f****d up

Aisap also doesnt work, gives this error:
bwrap: Can't mount proc on /newroot/proc: Operation not permitted

The Debian dockerfile I used is in the regress folder: am-debian.

@Samueru-sama
Copy link
Copy Markdown
Contributor

Do you have any idea how to get sas or aisap working in rootless podman? Sas gives this error:
💀 ERROR: This system is f****d up

https://github.com/Samueru-sama/simple-appimage-sandbox/blob/fd9d45e27b42f6d2a4be90f5a076afbc5fd1dc9b/sas.sh#L617-L634

@ivan-hc
Copy link
Copy Markdown
Owner

ivan-hc commented Apr 20, 2026

Sas gives this error:
💀 ERROR: This system is f****d up

if [ -z "$USER" ] || [ ! -d "$HOME" ] || [ -z "$ID" ] || [ -z "$GID" ]; then
	_error "This system is f****d up"
fi

uahahah! Epic! I was not aware of this!

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

Successfully merging this pull request may close these issues.

3 participants