diff --git a/lustre/tests/sanity-quota.sh b/lustre/tests/sanity-quota.sh
index 899511629c2775258c6fe263cc09242fbb3f1ec2..dd391056645cfedd3387759bbc2df1a907adc6bd 100644
--- a/lustre/tests/sanity-quota.sh
+++ b/lustre/tests/sanity-quota.sh
@@ -269,7 +269,7 @@ test_2_sub() {
 
 	log "    Create $LIMIT files ..."
 	$RUNAS createmany -m ${TESTFILE} $LIMIT || \
-		error "(usr) create failure, but except success"
+		error "(usr) create failure, but expect success"
 	log "    Done"
 	log "    Create out of file quota ..."
 	$RUNAS touch ${TESTFILE}_xxx && \
@@ -297,7 +297,7 @@ test_2_sub() {
 
 	log "    Create $LIMIT files ..."
 	$RUNAS createmany -m ${TESTFILE} $LIMIT || \
-		error "(usr) create failure, but except success"
+		error "(usr) create failure, but expect success"
 	log "    Done"
 	log "    Create out of file quota ..."
 	$RUNAS touch ${TESTFILE}_xxx && \