Implement subset of Red Hat test suite as smoke-tests
- Dominant language
- No language data
- Stars
- 287
- Forks
- 145
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 10
Description
The Red Hat test suite has a number of tests that would be valuable within the smoke-tests.
The following tests were identified by @omajid in https://github.com/dotnet/installer/pull/13418 as the set of Red Hat tests that may be valuable to implement:
| Test | Summary | Useful for source-build? | Exists in source-build |
|-----------------------------|------------------------------------------------------------- | -------------------------- | ------------------------|
| assemblies-valid | Assemblies are correctly optimized | Yes | No |
| cgroup-limit | Is cgroup support working | Yes | No |
| commit-ids-in-binaries | Check for commit strings in .so files | Yes | No |
| createdump-aspnet | Test createdump program | Yes | No |
| debugging-sos-lldb-via-core | Verify sos+lldb can debug things | Yes | No |
| dotnet-info-commit-ids | Check commit ids in dotnet --info | Yes | No |
| extract-bundle-dir | check self-contained extraction location | Partial | No |
| fdd-no-nuget | .NET publish works without nuget.org | Yes | No |
| file-permissions | Check file permissions within SDK are correct | Yes | No |
| lttng | tests tracing end-to-end | Yes | No |
| no-source-files-in-nuget | dotnet restore doesnt download source code | Yes | No |
| openssl-alpn | Confirm .NET uses OpenSSL alpn symbols | Yes | No |
| openssl-libcurl | check .NET can use client certificates | Yes | No |
| rest-client | Tests HttpClient | Yes | No |
| restore-with-rid | Tests dotnet restore -r fedora.34-x64 | Yes | No |
| strerrorr-linkage | Checks correct strerror_r is linked into .NET | Yes | No |
| system-openssl | Check ldd-visible linkage to openssl | Yes | No |
| targeting-packs-bad-files | No `*.json` or `Debug` files in targeting packs | Yes | No |
| template-test | Check all templates | Yes | Yes/No |
| tool-dev-certs | dotnet dev-certs works | Yes | No |
| use-apphost-from-sdk | Verify apphost works, and nuget.org is not needed | Yes | No |
| use-current-runtime | Verify dotnet build --use-current-runtime is portable | Yes | No |
| version-apis | Check `Environment.Version`, etc | Yes | No |
| workload | Install workloads as non-root | Yes | No |
| xunit-smoketest | Make sure `dotnet test` sets correct exit code on pass/fail | Yes | No |
Arguably, some of these aren't even that relevant anymore, or out of scope for source-build too. `extract-bundle-dir`, for example, verifies that .NET respects the `DOTNET_BUNDLE_EXTRACT_BASE_DIR` environment variable. That really should be the job of the runtime repo to **confirm.**
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.