mirror of
https://github.com/raspberrypi/rpi-eeprom.git
synced 2026-01-20 21:13:36 +08:00
unit-test: Update to cover all the releases including beta
This commit is contained in:
@@ -167,7 +167,12 @@ check_conf_size_too_large()
|
||||
echo "Check config read and loopback read/write against reference config files"
|
||||
versions="$(cd configs; ls *.txt | sed 's/bootconf-//g' | sed 's/.txt//g')"
|
||||
for ver in ${versions}; do
|
||||
check_loopback "../firmware/old/beta/pieeprom-${ver}.bin" "configs/bootconf-${ver}.txt"
|
||||
if [ -f "../firmware/old/beta/pieeprom-${ver}.bin" ]; then
|
||||
# Use this directory if the bootloader has been archived
|
||||
check_loopback "../firmware/old/beta/pieeprom-${ver}.bin" "configs/bootconf-${ver}.txt"
|
||||
else
|
||||
check_loopback "../firmware/beta/pieeprom-${ver}.bin" "configs/bootconf-${ver}.txt"
|
||||
fi
|
||||
cleanup
|
||||
done
|
||||
|
||||
|
||||
Reference in New Issue
Block a user