Skip to content

Commit

Permalink
do not set -e, print exit code
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrfai committed Feb 20, 2024
1 parent 28d60cf commit 2d23915
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions debian/tests/dirinstall
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

# test fai dirinstall

set -e

. ./debian/tests/common.sh
trap "cp -avL dirinstall.log $AUTOPKGTEST_ARTIFACTS" INT QUIT EXIT
cd "$AUTOPKGTEST_TMP"
Expand All @@ -12,7 +10,7 @@ ch=/srv/chroot
cl="DEBIAN,AMD64,FAIBASE,DHCPC,DEMO,LAST"
export NIC1=dummy
LC_ALL=C fai -v dirinstall -c $cl -s file://$CS $ch >& dirinstall.log

echo "dirinstall exit $?"


# test the results of the commands called
Expand Down

0 comments on commit 2d23915

Please sign in to comment.