Skip to content

Commit

Permalink
check a file from the config space before calling command
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrfai committed Feb 20, 2024
1 parent 2d23915 commit 7c674f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions debian/tests/diskimage
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
# Depends fai-setup-storage
# apt -o APT::Install-Suggests=0 -o APT::Install-Recommends=0 install fai-setup-storage

#set -e

. ./debian/tests/common.sh
cd "$AUTOPKGTEST_TMP"

Expand Down Expand Up @@ -35,6 +33,8 @@ main-check() {

trap "cp -ap /var/log/fai/cloud? diskimage*.log $AUTOPKGTEST_ARTIFACTS" INT QUIT EXIT

chk-file /srv/fai/config/class/50-host-classes

echo "=== creating and testing legacy bios diskimage ==="

cl="DEBIAN,AMD64,FAIBASE,GRUB_PC,DHCPC,DEMO,CLOUD,LAST"
Expand Down

0 comments on commit 7c674f6

Please sign in to comment.