@@ -938,7 +938,6 @@ public void TestDotnetVersionNotInstalled()
938938 actions . RunProcessOut [ "dotnet --list-sdks" ] = "2.1.2 [C:\\ Program Files\\ dotnet\\ sdks]\n 2.1.4 [C:\\ Program Files\\ dotnet\\ sdks]" ;
939939 actions . RunProcess [ @"chmod u+x scratch/.dotnet/dotnet-install.sh" ] = 0 ;
940940 actions . RunProcess [ @"scratch/.dotnet/dotnet-install.sh --channel release --version 2.1.3 --install-dir scratch/.dotnet" ] = 0 ;
941- actions . RunProcess [ @"rm scratch/.dotnet/dotnet-install.sh" ] = 0 ;
942941 actions . RunProcess [ @"scratch/.dotnet/dotnet --info" ] = 0 ;
943942 actions . RunProcess [ @"scratch/.dotnet/dotnet clean C:\Project/test.csproj" ] = 0 ;
944943 actions . RunProcess [ @"scratch/.dotnet/dotnet restore C:\Project/test.csproj" ] = 0 ;
@@ -964,7 +963,7 @@ public void TestDotnetVersionNotInstalled()
964963 actions . CreateDirectories . Add ( @"scratch/.dotnet" ) ;
965964
966965 var autobuilder = CreateAutoBuilder ( false , dotnetVersion : "2.1.3" ) ;
967- TestAutobuilderScript ( autobuilder , 0 , 8 ) ;
966+ TestAutobuilderScript ( autobuilder , 0 , 7 ) ;
968967 }
969968
970969 [ Fact ]
@@ -975,7 +974,6 @@ public void TestDotnetVersionAlreadyInstalled()
9759742.1.4 [C:\Program Files\dotnet\sdks]" ;
976975 actions . RunProcess [ @"chmod u+x scratch/.dotnet/dotnet-install.sh" ] = 0 ;
977976 actions . RunProcess [ @"scratch/.dotnet/dotnet-install.sh --channel release --version 2.1.3 --install-dir scratch/.dotnet" ] = 0 ;
978- actions . RunProcess [ @"rm scratch/.dotnet/dotnet-install.sh" ] = 0 ;
979977 actions . RunProcess [ @"scratch/.dotnet/dotnet --info" ] = 0 ;
980978 actions . RunProcess [ @"scratch/.dotnet/dotnet clean C:\Project/test.csproj" ] = 0 ;
981979 actions . RunProcess [ @"scratch/.dotnet/dotnet restore C:\Project/test.csproj" ] = 0 ;
@@ -1001,7 +999,7 @@ public void TestDotnetVersionAlreadyInstalled()
1001999 actions . CreateDirectories . Add ( @"scratch/.dotnet" ) ;
10021000
10031001 var autobuilder = CreateAutoBuilder ( false , dotnetVersion : "2.1.3" ) ;
1004- TestAutobuilderScript ( autobuilder , 0 , 8 ) ;
1002+ TestAutobuilderScript ( autobuilder , 0 , 7 ) ;
10051003 }
10061004
10071005 private void TestDotnetVersionWindows ( Action action , int commandsRun )
0 commit comments