aboutsummaryrefslogtreecommitdiff
path: root/test/dotnet/run_dotnet_7.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/dotnet/run_dotnet_7.sh')
-rw-r--r--test/dotnet/run_dotnet_7.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/dotnet/run_dotnet_7.sh b/test/dotnet/run_dotnet_7.sh
index ea66bd4..cde1d9d 100644
--- a/test/dotnet/run_dotnet_7.sh
+++ b/test/dotnet/run_dotnet_7.sh
@@ -4,6 +4,8 @@ set -e
source dev-container-features-test-lib
+check "non-root user" test "$(id -u)" -ne 0
+
pushd example_project
check "dotnet run" bash -c "dotnet run | grep 'Inception'"