@@ -938,7 +938,6 @@ public void TestDotnetVersionNotInstalled()
938
938
actions . RunProcessOut [ "dotnet --list-sdks" ] = "2.1.2 [C:\\ Program Files\\ dotnet\\ sdks]\n 2.1.4 [C:\\ Program Files\\ dotnet\\ sdks]" ;
939
939
actions . RunProcess [ @"chmod u+x scratch/.dotnet/dotnet-install.sh" ] = 0 ;
940
940
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 ;
942
941
actions . RunProcess [ @"scratch/.dotnet/dotnet --info" ] = 0 ;
943
942
actions . RunProcess [ @"scratch/.dotnet/dotnet clean C:\Project/test.csproj" ] = 0 ;
944
943
actions . RunProcess [ @"scratch/.dotnet/dotnet restore C:\Project/test.csproj" ] = 0 ;
@@ -964,7 +963,7 @@ public void TestDotnetVersionNotInstalled()
964
963
actions . CreateDirectories . Add ( @"scratch/.dotnet" ) ;
965
964
966
965
var autobuilder = CreateAutoBuilder ( false , dotnetVersion : "2.1.3" ) ;
967
- TestAutobuilderScript ( autobuilder , 0 , 8 ) ;
966
+ TestAutobuilderScript ( autobuilder , 0 , 7 ) ;
968
967
}
969
968
970
969
[ Fact ]
@@ -975,7 +974,6 @@ public void TestDotnetVersionAlreadyInstalled()
975
974
2.1.4 [C:\Program Files\dotnet\sdks]" ;
976
975
actions . RunProcess [ @"chmod u+x scratch/.dotnet/dotnet-install.sh" ] = 0 ;
977
976
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 ;
979
977
actions . RunProcess [ @"scratch/.dotnet/dotnet --info" ] = 0 ;
980
978
actions . RunProcess [ @"scratch/.dotnet/dotnet clean C:\Project/test.csproj" ] = 0 ;
981
979
actions . RunProcess [ @"scratch/.dotnet/dotnet restore C:\Project/test.csproj" ] = 0 ;
@@ -1001,7 +999,7 @@ public void TestDotnetVersionAlreadyInstalled()
1001
999
actions . CreateDirectories . Add ( @"scratch/.dotnet" ) ;
1002
1000
1003
1001
var autobuilder = CreateAutoBuilder ( false , dotnetVersion : "2.1.3" ) ;
1004
- TestAutobuilderScript ( autobuilder , 0 , 8 ) ;
1002
+ TestAutobuilderScript ( autobuilder , 0 , 7 ) ;
1005
1003
}
1006
1004
1007
1005
private void TestDotnetVersionWindows ( Action action , int commandsRun )
0 commit comments