summaryrefslogtreecommitdiff
path: root/tests/test-repo.sh
diff options
context:
space:
mode:
authorMatthew Leeds <matthew.leeds@endlessm.com>2019-08-19 17:05:28 -0700
committerAtomic Bot <atomic-devel@projectatomic.io>2019-09-13 08:31:41 +0000
commit07ab6e3a7acd44baaa54db89a3d7a7d76a9db603 (patch)
tree13730d1d970d367478b62bed59fe822174638827 /tests/test-repo.sh
parentaf4504c8d3a2e00b2d968644517ef8a9180afcd6 (diff)
downloadflatpak-07ab6e3a7acd44baaa54db89a3d7a7d76a9db603.tar.gz
tests: Fix whitespace and typo errors
Closes: #3065 Approved by: alexlarsson
Diffstat (limited to 'tests/test-repo.sh')
-rw-r--r--tests/test-repo.sh14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/test-repo.sh b/tests/test-repo.sh
index 3ef9b94a..90c7f35b 100644
--- a/tests/test-repo.sh
+++ b/tests/test-repo.sh
@@ -443,12 +443,12 @@ assert_not_file_has_content list-log "org\.test\.Platform"
# Disable the remote to make sure we don't do i/o
port=$(cat httpd-port-main)
-${FLATPAK} ${U} remote-modify --url="http://127.0.0.1:${port}/disable-test" test-repo
+${FLATPAK} ${U} remote-modify --url="http://127.0.0.1:${port}/disable-test" test-repo
${FLATPAK} ${U} install -y --no-pull test-repo org.test.Hello
# re-enable remote
-${FLATPAK} ${U} remote-modify --url="http://127.0.0.1:${port}/test" test-repo
+${FLATPAK} ${U} remote-modify --url="http://127.0.0.1:${port}/test" test-repo
${FLATPAK} ${U} list -d > list-log
assert_file_has_content list-log "org\.test\.Hello"
@@ -466,13 +466,13 @@ assert_not_file_has_content list-log "org\.test\.Platform"
# Disable the remote to make sure we don't do i/o
port=$(cat httpd-port-main)
-${FLATPAK} ${U} remote-modify --url="http://127.0.0.1:${port}/disable-test" test-repo
+${FLATPAK} ${U} remote-modify --url="http://127.0.0.1:${port}/disable-test" test-repo
# Note: The partial ref is only auto-corrected without user interaction because we're using -y
${FLATPAK} ${U} install -y --no-pull test-repo hello
# re-enable remote
-${FLATPAK} ${U} remote-modify --url="http://127.0.0.1:${port}/test" test-repo
+${FLATPAK} ${U} remote-modify --url="http://127.0.0.1:${port}/test" test-repo
${FLATPAK} ${U} list -d > list-log
assert_file_has_content list-log "org\.test\.Hello"
@@ -696,7 +696,7 @@ assert_not_file_has_content remote-ls-log "runtime/org\.test\.Hello\.Locale"
assert_file_has_content remote-ls-log "runtime/org\.test\.Platform"
if ${FLATPAK} ${U} remote-info test-repo org.test.Hello > remote-ref-info; then
- assert_not_reached "flatpak remote-info test-repo org.test.Hello should fail due to filter"
+ assert_not_reached "flatpak remote-info test-repo org.test.Hello should fail due to filter"
fi
if ${FLATPAK} ${U} install -y test-repo org.test.Hello; then
@@ -713,7 +713,7 @@ assert_not_file_has_content remote-ls-log "app/org\.test\.Hello"
assert_not_file_has_content remote-ls-log "runtime/org\.test\.Hello\.Locale"
assert_file_has_content remote-ls-log "runtime/org\.test\.Platform"
if ${FLATPAK} ${U} remote-info test-repo org.test.Hello > remote-ref-info; then
- assert_not_reached "flatpak remote-info test-repo org.test.Hello should fail due to filter"
+ assert_not_reached "flatpak remote-info test-repo org.test.Hello should fail due to filter"
fi
if ${FLATPAK} ${U} install -y test-repo org.test.Hello; then
assert_not_reached "should not be able to install org.test.Hello should fail due to filter"
@@ -733,7 +733,7 @@ assert_file_has_content remote-ls-log "runtime/org\.test\.Platform"
echo "ok filter"
-# Try installing it from a flatpakref file. Don’t uninstall afterwards because
+# Try installing it from a flatpakrepo file. Don’t uninstall afterwards because
# we need it for the next test.
cat << EOF > test.flatpakrepo
[Flatpak Repo]