diff --git a/tests/libtest.sh b/tests/libtest.sh index b610d699..38111d38 100644 --- a/tests/libtest.sh +++ b/tests/libtest.sh @@ -103,6 +103,23 @@ export U="--user" export FLATPAK="${CMD_PREFIX} flatpak" export FLATPAK_BUILDER="${CMD_PREFIX} flatpak-builder" +test_number=0 + +ok () { + { { local BASH_XTRACEFD=3; } 2> /dev/null + test_number=$(( test_number + 1 )) + echo "ok $test_number - $*"; + echo "================ $(basename ${BASH_SOURCE[1]}):${BASH_LINENO[0]} - $@ ================" >&2; + } 3> /dev/null +} + +done_testing () { + { { local BASH_XTRACEFD=3; } 2> /dev/null + echo "1..$test_number" + echo "# Done testing" + } 3> /dev/null +} + assert_streq () { test "$1" = "$2" || (echo 1>&2 "$1 != $2"; exit 1) } diff --git a/tests/test-appstream.sh b/tests/test-appstream.sh index fed1f937..cd36a2dc 100755 --- a/tests/test-appstream.sh +++ b/tests/test-appstream.sh @@ -23,8 +23,6 @@ set -euo pipefail skip_without_fuse -echo "1..3" - setup_repo install_repo setup_sdk_repo @@ -50,7 +48,7 @@ gzip -cdq builddir_sc/files/share/app-info/xmls/org.flatpak.appstream_media.xml. > appstream.xml assert_file_has_content_extended appstream.xml '>org/flatpak/appstream_media/[^/]+/icons/128x128/org.flatpak.appstream_media.png' -echo "ok compose partial url policy" +ok "compose partial url policy" # test compose full url policy if appstream_has_version 0 16 3; then @@ -65,9 +63,9 @@ if appstream_has_version 0 16 3; then > appstream.xml assert_file_has_content_extended appstream.xml '>https://example.org/media/org/flatpak/appstream_media/[^/]+/icons/128x128/org.flatpak.appstream_media.png' - echo "ok compose full url policy" + ok "compose full url policy" else - echo "ok # Skip AppStream < 0.16.3" + ok "# Skip AppStream < 0.16.3" fi # test compose jxl image format @@ -84,7 +82,9 @@ if appstream_has_version 1 2 0; then > appstream.xml assert_file_has_content_extended appstream.xml '>https://example.org/media/org/flatpak/appstream_media/[^/]+/icons/128x128/org.flatpak.appstream_media.jxl' - echo "ok compose jxl image format" + ok "compose jxl image format" else - echo "ok # Skip AppStream < 1.2.0" + ok "# Skip AppStream < 1.2.0" fi + +done_testing diff --git a/tests/test-build-subj.sh b/tests/test-build-subj.sh index 5061adf0..608d97ee 100755 --- a/tests/test-build-subj.sh +++ b/tests/test-build-subj.sh @@ -23,8 +23,6 @@ set -euo pipefail skip_without_fuse -echo "1..3" - setup_repo install_repo setup_sdk_repo @@ -99,7 +97,7 @@ BODY="$(ostree_get_body "$REPO"_1 "$REF")" assert_streq "$SUBJECT" "$EXPECTED_SUBJECT" assert_streq "$BODY" "$EXPECTED_BODY" -echo "ok default subject and body are set from git" +ok "default subject and body are set from git" ${FLATPAK_BUILDER} --force-clean --repo="$REPO"_2 \ --subject="Custom subject" --body="Custom body" appdir "$MANIFEST_NAME" >&2 @@ -111,7 +109,7 @@ BODY="$(ostree_get_body "$REPO"_2 "$REF")" assert_streq "$SUBJECT" "Custom subject" assert_streq "$BODY" "Custom body" -echo "ok explicit subject and body override defaults" +ok "explicit subject and body override defaults" rm -rf "$TEST_GIT_DIR/.git" @@ -124,4 +122,6 @@ BODY="$(ostree_get_body "$REPO"_3 "$REF")" assert_streq "$SUBJECT" "Export $APP_ID" assert_streq "$BODY" "$EXPECTED_BODY" -echo "ok default export subject is used outside git dir" +ok "default export subject is used outside git dir" + +done_testing diff --git a/tests/test-builder-cleanup.sh b/tests/test-builder-cleanup.sh index c3828078..92966243 100755 --- a/tests/test-builder-cleanup.sh +++ b/tests/test-builder-cleanup.sh @@ -23,8 +23,6 @@ set -euo pipefail skip_without_fuse -echo "1..9" - setup_repo install_repo setup_sdk_repo @@ -65,7 +63,7 @@ assert_not_has_file appdir/files/share/doc/file1 assert_not_has_file appdir/files/share/doc/file2 assert_not_has_dir appdir/files/share/doc -echo "ok toplevel cleanup applies to all modules" +ok "toplevel cleanup applies to all modules" cat > test-cleanup-module-scope.json <<'EOF' { @@ -99,7 +97,7 @@ run_build test-cleanup-module-scope.json assert_not_has_file appdir/files/share/doc/file1 assert_has_file appdir/files/share/doc/file2 -echo "ok module cleanup does not affect other modules" +ok "module cleanup does not affect other modules" cat > test-cleanup-basename.json <<'EOF' { @@ -124,7 +122,7 @@ run_build test-cleanup-basename.json assert_not_has_file appdir/files/share/a.txt assert_has_file appdir/files/share/b.log -echo "ok basename pattern works" +ok "basename pattern works" cat > test-cleanup-star.json <<'EOF' { @@ -150,7 +148,7 @@ run_build test-cleanup-star.json assert_not_has_file appdir/files/a/file.txt assert_has_file appdir/files/b/file.log -echo "ok wildcard matching works" +ok "wildcard matching works" cat > test-cleanup-module-star-scope.json <<'EOF' { @@ -186,7 +184,7 @@ assert_has_file appdir/files/share/file1.txt assert_not_has_file appdir/files/share/file2.txt assert_has_file appdir/files/share/file2.log -echo "ok wildcard matching works and is scoped to module" +ok "wildcard matching works and is scoped to module" cat > test-cleanup-question.json <<'EOF' { @@ -224,7 +222,7 @@ assert_not_has_file appdir/files/share/a2.txt assert_has_file appdir/files/share/a22.txt assert_not_has_file appdir/files/share/ab.txt -echo "ok '?' matches exactly one char and is module-scoped" +ok "'?' matches exactly one char and is module-scoped" cat > test-cleanup-question-slash.json <<'EOF' { @@ -250,7 +248,7 @@ run_build test-cleanup-question-slash.json assert_not_has_file appdir/files/a1/file.txt assert_has_file appdir/files/a/b/file.txt -echo "ok '?' does not match '/'" +ok "'?' does not match '/'" cat > test-invalid-pattern1.json <<'EOF' { @@ -274,7 +272,7 @@ run_build test-invalid-pattern1.json # share/doc is not a valid pattern, no cleanup should happen assert_has_file appdir/files/share/doc/file -echo "ok invalid pattern 1 did not cleanup" +ok "invalid pattern 1 did not cleanup" cat > test-cleanup-trailing-slash.json <<'EOF' { @@ -298,4 +296,6 @@ run_build test-cleanup-trailing-slash.json assert_not_has_file appdir/files/share/doc/file assert_not_has_dir appdir/files/share/doc -echo "ok trailing slash works" +ok "trailing slash works" + +done_testing diff --git a/tests/test-builder-deprecated.sh b/tests/test-builder-deprecated.sh index 179216d4..e99a04a5 100755 --- a/tests/test-builder-deprecated.sh +++ b/tests/test-builder-deprecated.sh @@ -22,8 +22,6 @@ srcdir=$(dirname "$0") skip_without_fuse -echo "1..8" - setup_repo install_repo setup_sdk_repo @@ -46,46 +44,48 @@ BUILD_LOG=build-error-log run_build org.test.Deprecated.MD5.archive.json assert_file_has_content build-error-log 'The "md5" source property is deprecated due to the weakness of MD5 hashes.' assert_file_has_content build-error-log 'Use the "sha256" property for the more secure SHA256 hash.' -echo "ok deprecated MD5 hash for archive in JSON" +ok "deprecated MD5 hash for archive in JSON" BUILD_LOG=build-error-log run_build org.test.Deprecated.MD5.archive.yaml assert_file_has_content build-error-log 'The "md5" source property is deprecated due to the weakness of MD5 hashes.' assert_file_has_content build-error-log 'Use the "sha256" property for the more secure SHA256 hash.' -echo "ok deprecated MD5 hash for archive in YAML" +ok "deprecated MD5 hash for archive in YAML" BUILD_LOG=build-error-log run_build org.test.Deprecated.MD5.file.json assert_file_has_content build-error-log 'The "md5" source property is deprecated due to the weakness of MD5 hashes.' assert_file_has_content build-error-log 'Use the "sha256" property for the more secure SHA256 hash.' -echo "ok deprecated MD5 hash for file in JSON" +ok "deprecated MD5 hash for file in JSON" BUILD_LOG=build-error-log run_build org.test.Deprecated.MD5.file.yaml assert_file_has_content build-error-log 'The "md5" source property is deprecated due to the weakness of MD5 hashes.' assert_file_has_content build-error-log 'Use the "sha256" property for the more secure SHA256 hash.' -echo "ok deprecated MD5 hash for file in YAML" +ok "deprecated MD5 hash for file in YAML" BUILD_LOG=build-error-log run_build org.test.Deprecated.SHA1.archive.json assert_file_has_content build-error-log 'The "sha1" source property is deprecated due to the weakness of SHA1 hashes.' assert_file_has_content build-error-log 'Use the "sha256" property for the more secure SHA256 hash.' -echo "ok deprecated SHA1 hash for archive in JSON" +ok "deprecated SHA1 hash for archive in JSON" BUILD_LOG=build-error-log run_build org.test.Deprecated.SHA1.archive.yaml assert_file_has_content build-error-log 'The "sha1" source property is deprecated due to the weakness of SHA1 hashes.' assert_file_has_content build-error-log 'Use the "sha256" property for the more secure SHA256 hash.' -echo "ok deprecated SHA1 hash for archive in YAML" +ok "deprecated SHA1 hash for archive in YAML" BUILD_LOG=build-error-log run_build org.test.Deprecated.SHA1.file.json assert_file_has_content build-error-log 'The "sha1" source property is deprecated due to the weakness of SHA1 hashes.' assert_file_has_content build-error-log 'Use the "sha256" property for the more secure SHA256 hash.' -echo "ok deprecated SHA1 hash for file in JSON" +ok "deprecated SHA1 hash for file in JSON" BUILD_LOG=build-error-log run_build org.test.Deprecated.SHA1.file.yaml assert_file_has_content build-error-log 'The "sha1" source property is deprecated due to the weakness of SHA1 hashes.' assert_file_has_content build-error-log 'Use the "sha256" property for the more secure SHA256 hash.' -echo "ok deprecated SHA1 hash for file in YAML" +ok "deprecated SHA1 hash for file in YAML" + +done_testing diff --git a/tests/test-builder-flags.sh b/tests/test-builder-flags.sh index e2f966b8..819ae71a 100755 --- a/tests/test-builder-flags.sh +++ b/tests/test-builder-flags.sh @@ -23,8 +23,6 @@ set -euo pipefail skip_without_fuse -echo "1..8" - setup_repo install_repo setup_sdk_repo @@ -59,7 +57,7 @@ run_build test-cgo-default.json assert_file_has_content appdir/files/cflags_out '\-O2 \-g' assert_file_has_content appdir/files/cgo_cflags_out '\-O2 \-g' -echo "ok cgo-cflags defaults to cflags" +ok "cgo-cflags defaults to cflags" # Explicit cgo-cflags set and no cgo-cflags-override: CGO_CFLAGS=$CFLAGS+explicit cat > test-cgo-set.json <<'EOF' @@ -85,7 +83,7 @@ run_build test-cgo-set.json assert_file_has_content appdir/files/cgo_cflags_out '\-O2 \-g \-O0' -echo "ok explicit cgo-cflags is additive to cflags" +ok "explicit cgo-cflags is additive to cflags" # Explicit cgo-cflags set and `cgo-cflags-override: true`: CGO_CFLAGS=explicit cat > test-cgo-set-with-override.json <<'EOF' @@ -113,7 +111,7 @@ run_build test-cgo-set-with-override.json assert_file_has_content appdir/files/cgo_cflags_out '\-O0' -echo "ok cgo-cflags with override has only explicit flags" +ok "cgo-cflags with override has only explicit flags" # Only `cgo-cflags-override: true`: CGO_CFLAGS is unset cat > test-cgo-only-override.json <<'EOF' @@ -139,7 +137,7 @@ run_build test-cgo-only-override.json assert_file_has_content appdir/files/cgo_cflags_out '^unset$' -echo "ok only cgo-cflags-override clears CGO_CFLAGS" +ok "only cgo-cflags-override clears CGO_CFLAGS" # Default: RUSTFLAGS should be passed. The test SDK does not ship with # defaults so it is set here via rustflags explicitly. @@ -165,7 +163,7 @@ run_build test-rustflags-set.json assert_file_has_content appdir/files/rustflags_out '\-C opt\-level=2' -echo "ok rustflags is passed by default" +ok "rustflags is passed by default" # rustflags-override at module level clears manifest-level rustflags # or equivalently clears SDK rustflags @@ -196,7 +194,7 @@ run_build test-rustflags-override.json assert_file_has_content appdir/files/rustflags_out '\-C opt\-level=3' assert_not_file_has_content appdir/files/rustflags_out 'debuginfo' -echo "ok rustflags-override at module level clears manifest-level rustflags" +ok "rustflags-override at module level clears manifest-level rustflags" # Only rustflags-override is set, rustflags should be cleared cat > test-rustflags-only-override.json <<'EOF' @@ -224,7 +222,7 @@ run_build test-rustflags-only-override.json assert_file_has_content appdir/files/rustflags_out '^unset$' -echo "ok only rustflags-override clears rustflags" +ok "only rustflags-override clears rustflags" CREATE_SDK_CONFIG=1 setup_repo testconfig @@ -265,4 +263,6 @@ assert_file_has_content appdir/files/cgo_cflags '^\-O2 \-g \-fstack-protector-st assert_file_has_content appdir/files/cgo_cxxflags '^\-O2 \-g \-fstack-protector-strong$' assert_file_has_content appdir/files/cgo_ldflags '^\-Wl,-z,relro,-z,now$' -echo "ok sdk flags config from is loaded and flags are set correctly" +ok "sdk flags config from is loaded and flags are set correctly" + +done_testing diff --git a/tests/test-builder-licence-paths.sh b/tests/test-builder-licence-paths.sh index 8e466a06..1c4a28a3 100755 --- a/tests/test-builder-licence-paths.sh +++ b/tests/test-builder-licence-paths.sh @@ -23,8 +23,6 @@ set -euo pipefail skip_without_fuse -echo "1..7" - setup_repo install_repo setup_sdk_repo @@ -61,7 +59,7 @@ run_build_fail test-licence_interm_symlink.json assert_not_has_file appdir/files/share/licenses/org.test.licence_interm_symlink/test/environ -echo "ok intermediate path symlink is rejected" +ok "intermediate path symlink is rejected" mkdir -p source_licence_2 ln -s /etc/hostname source_licence_2/LICENSE @@ -90,7 +88,7 @@ run_build_fail test-licence_abs_symlink.json assert_not_has_file appdir/files/share/licenses/org.test.licence_abs_symlink/test/LICENSE -echo "ok absolute path symlink is rejected" +ok "absolute path symlink is rejected" mkdir -p source_licence_3 echo "MY LICENSE TEXT" > source_licence_3/LICENSE @@ -122,7 +120,7 @@ assert_file_has_content \ appdir/files/share/licenses/org.test.licence_working_1/test/LICENSE \ '^MY LICENSE TEXT$' -echo "ok license file is recorded with license-files key" +ok "license file is recorded with license-files key" mkdir -p source_licence_4 echo "MY DEFAULT LICENSE TEXT" > source_licence_4/LICENSE @@ -153,7 +151,7 @@ assert_file_has_content \ appdir/files/share/licenses/org.test.licence_working_2/test/LICENSE \ '^MY DEFAULT LICENSE TEXT$' -echo "ok license file is recorded by default" +ok "license file is recorded by default" mkdir -p source_licence_5/LICENSES mkdir -p source_licence_5/licenses echo "MIT LICENSE TEXT" > source_licence_5/LICENSES/MIT.txt @@ -189,7 +187,7 @@ assert_file_has_content \ appdir/files/share/licenses/org.test.licence_subdir/test/licenses_Apache-2.0.txt \ '^APACHE LICENSE TEXT$' -echo "ok licence subdir files are collected automatically" +ok "licence subdir files are collected automatically" mkdir -p source_licence_6/LICENSES ln -s /etc/hostname source_licence_6/LICENSES/MIT.txt @@ -217,7 +215,7 @@ run_build test-licence_subdir_symlink.json assert_not_has_file appdir/files/share/licenses/org.test.licence_subdir_symlink/test/LICENSES_MIT.txt -echo "ok symlink inside licence subdir is skipped" +ok "symlink inside licence subdir is skipped" mkdir -p source_licence_7 ln -s /proc/self source_licence_7/LICENSES @@ -245,4 +243,6 @@ run_build test-licence_subdir_itself_symlink.json assert_not_has_file appdir/files/share/licenses/org.test.licence_subdir_itself_symlink/test/LICENSES_environ -echo "ok licence dir symlink is skipped" +ok "licence dir symlink is skipped" + +done_testing diff --git a/tests/test-builder-locale-migration.sh b/tests/test-builder-locale-migration.sh index 6222b4a3..4448ccdb 100755 --- a/tests/test-builder-locale-migration.sh +++ b/tests/test-builder-locale-migration.sh @@ -23,8 +23,6 @@ set -euo pipefail skip_without_fuse -echo "1..4" - setup_repo install_repo setup_sdk_repo @@ -136,7 +134,7 @@ assert_has_dir appdir/files/share/runtime/locale/sv assert_has_file appdir/files/share/locale/plain-file assert_not_has_symlink appdir/files/share/locale/plain-file -echo "ok locale dirs migrated" +ok "locale dirs migrated" cat > test-locale-disabled.json <<'EOF' { @@ -162,7 +160,7 @@ assert_has_file appdir/files/share/locale/de/LC_MESSAGES/test.mo assert_file_has_content appdir/files/share/locale/de/LC_MESSAGES/test.mo 'de translation' assert_not_has_dir appdir/files/share/runtime/locale -echo "ok locale dirs migration is disabled on separate-locales false" +ok "locale dirs migration is disabled on separate-locales false" cat > test-locale-migration-runtime.json <<'EOF' { @@ -194,7 +192,7 @@ assert_has_symlink appdir/usr/lib/locale/cs assert_has_file appdir/usr/share/runtime/locale/cs/lib/cs/LC_MESSAGES/test.mo assert_file_has_content appdir/usr/share/runtime/locale/cs/lib/cs/LC_MESSAGES/test.mo 'cs translation' -echo "ok locale dirs migration works with runtime" +ok "locale dirs migration works with runtime" cat > test-locale-no-dirs.json <<'EOF' { @@ -217,4 +215,6 @@ run_build test-locale-no-dirs.json assert_has_file appdir/files/bin/test assert_not_has_dir appdir/files/share/runtime/locale -echo "ok locale migration handles missing locale dirs" +ok "locale migration handles missing locale dirs" + +done_testing diff --git a/tests/test-builder-python.sh b/tests/test-builder-python.sh index eecbcd44..e7edf547 100755 --- a/tests/test-builder-python.sh +++ b/tests/test-builder-python.sh @@ -24,8 +24,6 @@ set -euo pipefail skip_without_fuse skip_without_python2 -echo "1..2" - setup_repo install_repo setup_python2_repo @@ -51,7 +49,7 @@ builder_run_app org.test.Python.json testpython.py > testpython.out assert_file_has_content testpython.out ^modified$ -echo "ok handled pyc rewriting multiple times" +ok "handled pyc rewriting multiple times" run_build org.test.Python2.json @@ -62,4 +60,6 @@ builder_run_app org.test.Python2.json testpython.py > testpython.out assert_file_has_content testpython.out "^first $" -echo "ok handled .pyc without .py" +ok "handled .pyc without .py" + +done_testing diff --git a/tests/test-builder-src-date-epoch.sh b/tests/test-builder-src-date-epoch.sh index 79086049..7fb503b6 100755 --- a/tests/test-builder-src-date-epoch.sh +++ b/tests/test-builder-src-date-epoch.sh @@ -23,8 +23,6 @@ set -euo pipefail skip_without_fuse -echo "1..3" - setup_repo install_repo setup_sdk_repo @@ -51,7 +49,7 @@ run_build test-src-date-epoch-default.json assert_file_has_content appdir/files/sde_out '^1321009871$' -echo "ok source-date-epoch default fixed epoch is set" +ok "source-date-epoch default fixed epoch is set" cat > test-src-date-epoch-override.json <<'EOF' { @@ -72,7 +70,7 @@ run_build --override-source-date-epoch=1234567890 test-src-date-epoch-override.j assert_file_has_content appdir/files/sde_out '^1234567890$' -echo "ok source-date-epoch override value is used" +ok "source-date-epoch override value is used" cat > test-src-date-epoch-disable.json <<'EOF' { @@ -93,4 +91,6 @@ run_build --override-source-date-epoch=0 test-src-date-epoch-disable.json assert_file_has_content appdir/files/sde_out '^unset$' -echo "ok source-date-epoch is unset when disabled with 0" +ok "source-date-epoch is unset when disabled with 0" + +done_testing diff --git a/tests/test-builder.sh b/tests/test-builder.sh index 755fdf2c..d6bec414 100755 --- a/tests/test-builder.sh +++ b/tests/test-builder.sh @@ -23,8 +23,6 @@ set -euo pipefail skip_without_fuse -echo "1..11" - setup_repo install_repo setup_sdk_repo @@ -105,7 +103,7 @@ for MANIFEST in test.json test.yaml test-rename.json test-rename-appdata.json ; assert_file_has_content appdir/files/share/licenses/org.test.Hello2/test/LICENSE '^MY LICENSE$' - echo "ok build" + ok "build" done ${FLATPAK} ${U} install -y test-repo org.test.Hello2 master >&2 @@ -115,7 +113,7 @@ assert_file_has_content hello_out3 '^Hello world2, from a sandbox$' run --command=cat org.test.Hello2 /app/share/app-data > app_data_1 assert_file_has_content app_data_1 version1 -echo "ok install+run" +ok "install+run" echo "version2" > app-data run_build $FL_GPGARGS --repo="$REPO" test.json @@ -128,13 +126,13 @@ ${FLATPAK} ${U} update -y org.test.Hello2 master >&2 run --command=cat org.test.Hello2 /app/share/app-data > app_data_2 assert_file_has_content app_data_2 version2 -echo "ok update" +ok "update" # The build-args of --help should prevent the faulty cleanup and # platform-cleanup commands from executing APPDIR=runtimedir run_build $FL_GPGARGS --repo="$REPO" test-runtime.json -echo "ok runtime build cleanup with build-args" +ok "runtime build cleanup with build-args" APPDIR=runtimedir run_build $FL_GPGARGS --repo="$REPO" test-runtime-platform.json @@ -150,7 +148,7 @@ if [ "$BUILT_EXTENSIONS_COUNT" -gt 1 ]; then exit 1 fi -echo "ok no duplicate [Build] groups in platform metadata" +ok "no duplicate [Build] groups in platform metadata" # test screenshot ref commit APPDIR=builddir_sc \ @@ -162,7 +160,7 @@ ostree --repo=$REPO/repo_sc refs|grep -Eq "^screenshots/$(flatpak --default-arch ostree checkout --repo=$REPO/repo_sc -U screenshots/$(flatpak --default-arch) outdir_sc find outdir_sc -path "*/icons/64x64/org.test.Hello.png" -type f | grep -q . -echo "ok screenshot ref commit" +ok "screenshot ref commit" # test install APPDIR=builddir run_build --user --install org.flatpak.install_test.json @@ -172,11 +170,13 @@ echo "$REFS" | grep -q "org\.flatpak\.install_test" echo "$REFS" | grep -q "org\.flatpak\.install_test\.Debug" echo "$REFS" | grep -q "org\.flatpak\.install_test\.Locale" -echo "ok install" +ok "install" run_build --repo="$REPO" test-locale-cleanup.json assert_not_has_file appdir/files/share/runtime/locale/es/share/es/testA.mo assert_has_file appdir/files/share/runtime/locale/es/share/es/testB.mo -echo "ok testB's locale survives after testA's cleanup" +ok "testB's locale survives after testA's cleanup" + +done_testing diff --git a/tests/test-sandboxed-mode-source-resolution.sh b/tests/test-sandboxed-mode-source-resolution.sh index e945e0f5..fca4e754 100755 --- a/tests/test-sandboxed-mode-source-resolution.sh +++ b/tests/test-sandboxed-mode-source-resolution.sh @@ -24,8 +24,6 @@ set -euo pipefail skip_without_fuse -echo "1..15" - setup_repo install_repo setup_sdk_repo @@ -66,7 +64,7 @@ run_build --sandbox test-path-inside.json assert_has_file appdir/files/test.txt assert_file_has_content appdir/files/test.txt 'test' -echo "ok path source inside manifest tree works for file type in sandboxed mode" +ok "path source inside manifest tree works for file type in sandboxed mode" cat > test-file-url-inside.json < test-file-url-outside.json < test-archive-file_uri-inside.json < test-archive-file_uri-outside.json < test-git-file_uri-inside.json < test-git-file_uri-outside.json <