diff --git a/testsuite/expect/globals b/testsuite/expect/globals
index 02b7f441397a934ee1c707fb43fd8558f64f570a..93be2a30adb158f3abd44b9d615a1b87f701b425 100755
--- a/testsuite/expect/globals
+++ b/testsuite/expect/globals
@@ -78,7 +78,7 @@ cset mpirun	"mpirun"
 cset totalviewcli	"/usr/local/bin/totalviewcli"
 
 # Pattern to match your shell prompt
-cset prompt "(%|#|\\\$) *$"
+cset prompt "(%|#|\\\\\$) *$"
 
 #
 # Specify locations of other executable files used