Skip to content

Commit 51670ce

Browse files
Chained user switching with password change
1 parent 3436372 commit 51670ce

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

build/tfs/linux/smoketest.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ step "Build minified" \
2626
npm run gulp -- --max_old_space_size=4096 "vscode-linux-$ARCH-min"
2727

2828
step "Configure environment" \
29-
id -u testuser || (useradd -m testuser; chpasswd <<< testuser:testpassword)
30-
su testuser
29+
id -u testuser || (useradd -m testuser; chpasswd <<< testuser:testpassword); su testuser
3130
cd $BUILD_REPOSITORY_LOCALPATH
3231
git config --global user.name "Michel Kaporin"
3332
git config --global user.email "monacotools@microsoft.com"

0 commit comments

Comments
 (0)