mirror of
https://github.com/quamotion/dotnet-packaging.git
synced 2026-02-04 05:35:40 +00:00
fix unit test
This commit is contained in:
@@ -132,7 +132,7 @@ namespace Packaging.Targets.Tests.Deb
|
||||
/usr/sbin/useradd -g demouser -s /sbin/nologin -r -d /opt/local demouser 2>/dev/null || :
|
||||
echo 'Hello from pre install'
|
||||
", pkg.PreInstallScript, ignoreLineEndingDifferences: true);
|
||||
Assert.Equal(@"systemctl reload
|
||||
Assert.Equal(@"systemctl daemon-reload
|
||||
systemctl enable --now demoservice.service
|
||||
echo 'Hello from post install'
|
||||
", pkg.PostInstallScript, ignoreLineEndingDifferences: true);
|
||||
|
||||
Reference in New Issue
Block a user