INI: Exit on unexpected value in crash test
@@ -9,6 +9,7 @@ sudo kdb mount config_crash_test.ini user/examples/ini ini
for file in $(find -E src/plugins/ini/crash_test -regex '.*crash[0-9]{3}.ini$'); do \
cp -f "$file" "$(kdb file user/examples/ini)" \
kdb ls user/examples/ini \
+ if [ "$?" -ne 5 ]; then echo 'Unexpected return value'; fi \
rm "$(kdb file user/examples/ini)" \
done
