Skip to content

Commit

Permalink
force using bash
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrfai committed Feb 21, 2024
1 parent 8de9cd8 commit 6557829
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion debian/tests/fai-mirror
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ chk-file /srv/fai/nfsroot/var/tmp/packages.nfsroot
chk-file /srv/fai/nfsroot/var/tmp/base-pkgs.lis
echo "PRE checks fai-mirror END"

su $AUTOPKGTEST_NORMAL_USER -c "fai-mirror -s$CS -m1 -xARM64,I386,ROCKY,UBUNTU,FOCAL,CLOUD,CHROOT,STANDARD,NONFREE,GNOME $mdir >& /tmp/mirror.log"
su $AUTOPKGTEST_NORMAL_USER -s /bin/bash -c "fai-mirror -s$CS -m1 -xARM64,I386,ROCKY,UBUNTU,FOCAL,CLOUD,CHROOT,STANDARD,NONFREE,GNOME $mdir >& /tmp/mirror.log"

# test the results of the commands called
s=$(du -sm --exclude aptcache --exclude db $mdir | awk '{print $1}')
Expand Down

0 comments on commit 6557829

Please sign in to comment.