diff --git a/testsuite/expect/README b/testsuite/expect/README
index e995174d53aad80618ee0bd075eed128766cbd78..ae14e40cbe5d54b9eafcb2e0cb642d36694afa23 100644
--- a/testsuite/expect/README
+++ b/testsuite/expect/README
@@ -389,7 +389,7 @@ test17.5   Confirm that sbatch stdout, and stderr options work (--output
            and --error option respectively, including use of %j specification)
 test17.6   Confirm that a job executes with the proper task count (--tasks
            option).
-test17.7   Confirm that sbatch sets appropriate working directory (--chdir
+test17.7   Confirm that sbatch sets appropriate working directory (--workdir
            option)
 test17.8   Confirm that sbatch sets appropriate time limit (--time
            option)
diff --git a/testsuite/expect/test17.7 b/testsuite/expect/test17.7
index f24c924aa8c355b039759ec6febbbfeb1dae1689..e2f29e11d8427e2f80de44af1e64bcc2cc7a7bfa 100755
--- a/testsuite/expect/test17.7
+++ b/testsuite/expect/test17.7
@@ -1,7 +1,7 @@
 #!/usr/bin/expect
 ############################################################################
 # Purpose: Test of SLURM functionality
-#          Confirm that sbatch sets appropriate working directory (--chdir 
+#          Confirm that sbatch sets appropriate working directory (--workdir
 #          option)
 #
 # Output:  "TEST: #.#" followed by "SUCCESS" if test was successful, OR