summaryrefslogtreecommitdiff
path: root/test/e2e-go/cli/goal/expect/goalExpectCommon.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/e2e-go/cli/goal/expect/goalExpectCommon.exp')
-rw-r--r--test/e2e-go/cli/goal/expect/goalExpectCommon.exp6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/e2e-go/cli/goal/expect/goalExpectCommon.exp b/test/e2e-go/cli/goal/expect/goalExpectCommon.exp
index 1d8f9d0ed..273d02db9 100644
--- a/test/e2e-go/cli/goal/expect/goalExpectCommon.exp
+++ b/test/e2e-go/cli/goal/expect/goalExpectCommon.exp
@@ -112,7 +112,7 @@ proc ::AlgorandGoal::StartNode { TEST_ALGO_DIR {SYSTEMD_MANAGED "False"} {PEER_A
if { $SYSTEMD_MANAGED eq "True" } {
expect {
timeout { close; ::AlgorandGoal::Abort "Did not receive appropriate message during node start" }
- "^This node is managed by systemd, you must run the following command to make your desired state change to your node:*" { puts "Goal showed correct error message for systemd" ; close}
+ "^This node is using systemd and should be managed with systemctl*" { puts "Goal showed correct error message for systemd" ; close}
eof { ::AlgorandGoal::CheckEOF "Unable to start network" }
}
} else {
@@ -146,7 +146,7 @@ proc ::AlgorandGoal::StopNode { TEST_ALGO_DIR {SYSTEMD_MANAGED ""} } {
spawn goal node stop -d $TEST_ALGO_DIR
expect {
timeout { close; ::AlgorandGoal::Abort "Did not receive appropriate message during node stop" }
- "*This node is managed by systemd, you must run the following command to make your desired state change to your node:*" { puts "Goal showed correct error message for systemd" ; close}
+ "^This node is using systemd and should be managed with systemctl*" { puts "Goal showed correct error message for systemd" ; close}
eof { close; ::AlgorandGoal::Abort "Did not receive appropriate message before goal command completion" }
}
}
@@ -173,7 +173,7 @@ proc ::AlgorandGoal::RestartNode { TEST_ALGO_DIR {SYSTEMD_MANAGED ""} } {
spawn goal node restart -d $TEST_ALGO_DIR
expect {
timeout { close; ::AlgorandGoal::Abort "Did not receive appropriate message during node restart" }
- "^This node is managed by systemd, you must run the following command to make your desired state change to your node:*" { puts "Goal showed correct error message for systemd" ; close}
+ "^This node is using systemd and should be managed with systemctl*" { puts "Goal showed correct error message for systemd" ; close}
}
}
} EXCEPTION] } {