run integration tests with simple sample data
This commit is contained in:
parent
f188a4a4b0
commit
0c55149c31
|
@ -18,7 +18,7 @@ Filesystem:
|
|||
obj: [disk index 0]
|
||||
action: PARTITION
|
||||
data:
|
||||
size: 1G
|
||||
size: 0.5G
|
||||
fstype: null
|
||||
- *newpart
|
||||
- *newpart
|
||||
|
|
|
@ -7,7 +7,7 @@ for answers in examples/answers*.yaml; do
|
|||
rm -f .subiquity/subiquity-debug.log
|
||||
rm -f .subiquity/run/subiquity/updating
|
||||
# The --foreground is important to avoid subiquity getting SIGTTOU-ed.
|
||||
timeout --foreground 60 sh -c "LANG=C.UTF-8 python3 -m subiquity.cmd.tui --answers $answers --dry-run --snaps-from-examples --machine-config examples/mwhudson.json"
|
||||
timeout --foreground 60 sh -c "LANG=C.UTF-8 python3 -m subiquity.cmd.tui --answers $answers --dry-run --snaps-from-examples --machine-config examples/simple.json"
|
||||
python3 scripts/validate-yaml.py .subiquity/subiquity-curtin-install.conf
|
||||
if grep passw0rd .subiquity/subiquity-debug.log | grep -v "Loaded answers" | grep -v "answers_action"; then
|
||||
echo "password leaked into log file"
|
||||
|
|
Loading…
Reference in New Issue