From 20f85ac5e7a153d4a4b8d97d9aa1263b94b9f9e9 Mon Sep 17 00:00:00 2001 From: Rid Shakeel Date: Thu, 11 Apr 2024 20:54:07 -0700 Subject: [PATCH] change test user id --- test/base/base.sh | 4 +--- test/base/scenarios.json | 8 ++++---- test/base/user_default_zsh.sh | 4 ++-- 3 files changed, 7 insertions(+), 9 deletions(-) diff --git a/test/base/base.sh b/test/base/base.sh index 6bf997d..6eecf3f 100644 --- a/test/base/base.sh +++ b/test/base/base.sh @@ -19,9 +19,7 @@ check "check for vim-plug" ls -1 $VIMPLUG_PATH/autoload/plug.vim | wc -l source ~/.bashrc -cat ~/.bashrc - -echo "NVM_DIR is $PATH" +echo "PATH is $PATH" if [ -s "$NVM_DIR/nvm.sh" ]; then echo "The file $NVM_DIR/nvm.sh exists and is not empty." fi diff --git a/test/base/scenarios.json b/test/base/scenarios.json index f12612a..1e2c1f4 100644 --- a/test/base/scenarios.json +++ b/test/base/scenarios.json @@ -1,12 +1,12 @@ { "base": { "image": "mcr.microsoft.com/devcontainers/base:debian", - "remoteUser": "vscode", + "remoteUser": "customUser", "features": { "base": { - "username": "vscode", - "userUid": "1000", - "userGid": "1000" + "username": "customUser", + "userUid": "1055", + "userGid": "1055" } } } diff --git a/test/base/user_default_zsh.sh b/test/base/user_default_zsh.sh index 8eeb162..0ea7dcf 100644 --- a/test/base/user_default_zsh.sh +++ b/test/base/user_default_zsh.sh @@ -1,9 +1,9 @@ #!/usr/bin/env zsh -set -e +#set -e # Optional: Import test library source dev-container-features-test-lib check "user lang should be UTF-8" echo $LANG | grep "en_US.UTF-8" -check "check for zplug" zplug --version \ No newline at end of file +check "check for zplug" zplug --version