"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "tests/test-auth.sh" between
flatpak-1.8.2.tar.xz and flatpak-1.8.3.tar.xz

About: Flatpak is a Linux application sandboxing and distribution framework.

test-auth.sh  (flatpak-1.8.2.tar.xz):test-auth.sh  (flatpak-1.8.3.tar.xz)
skipping to change at line 115 skipping to change at line 115
${FLATPAK} ${U} update -y org.test.Hello ${FLATPAK} ${U} update -y org.test.Hello
ok "installed build-exported token-type app" ok "installed build-exported token-type app"
# Drop token-type on main version # Drop token-type on main version
make_updated_app test "" master UPDATE3 make_updated_app test "" master UPDATE3
# And ensure its installable with no token # And ensure its installable with no token
${FLATPAK} ${U} update -y org.test.Hello ${FLATPAK} ${U} update -y org.test.Hello
# Use build-commit-from to add it to a new version # Use build-commit-from to add it to a new version
$FLATPAK build-commit-from ${FL_GPGARGS} --token-type=2 --disable-fsync --src-r $FLATPAK build-commit-from --no-update-summary ${FL_GPGARGS} --token-type=2 --d
ef=app/org.test.Hello/$ARCH/master repos/test app/org.test.Hello/$ARCH/copy isable-fsync --src-ref=app/org.test.Hello/$ARCH/master repos/test app/org.test.H
ello/$ARCH/copy
update_repo
mark_need_token app/org.test.Hello/$ARCH/copy the-secret mark_need_token app/org.test.Hello/$ARCH/copy the-secret
# Install with wrong token # Install with wrong token
echo -n not-the-secret > ${XDG_RUNTIME_DIR}/required-token echo -n not-the-secret > ${XDG_RUNTIME_DIR}/required-token
if ${FLATPAK} ${U} install -y test-repo org.test.Hello//copy 2> install-error-lo g; then if ${FLATPAK} ${U} install -y test-repo org.test.Hello//copy 2> install-error-lo g; then
assert_not_reached "Should not be able to install with wrong secret" assert_not_reached "Should not be able to install with wrong secret"
fi fi
assert_failed_with_401 assert_failed_with_401
# Install with right token # Install with right token
 End of changes. 1 change blocks. 
2 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)