mirror of
https://github.com/token2/snapd.git
synced 2026-03-13 11:15:47 -07:00
We ran into an issue that in the autopkgtest run the tools directory was not setup properly and the output in this case is super misleading: ``` + not test-snapd-sandbox -c 'touch /root/foo' | MATCH 'touch: .* Permission denied' grep error: pattern not found, got: ``` This commit changes the placeholders to output a meaningful error and return an non-zero to avoid confusing situations like this.
6 lines
274 B
Plaintext
Executable File
6 lines
274 B
Plaintext
Executable File
# This is a placeholder for the tool which is copied from snapd-testing-tools project
|
|
# The tool is copied from the tests/lib/external/snapd-testing-tools/tools directory
|
|
# while the project is being prepared
|
|
echo "placeholder called, source tree not properly setup"
|
|
exit 1
|