]> granicus.if.org Git - zfs/commitdiff
Update migration_004_pos, migration_005_pos, migration_006_pos
authorlegend-hua <liu.hua130@zte.com.cn>
Thu, 20 Oct 2016 18:04:30 +0000 (02:04 +0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 20 Oct 2016 18:04:30 +0000 (11:04 -0700)
Log function should be "log_fail", rather than "log_failED"

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: legend-hua <liu.hua130@zte.com.cn>
Closes #5300

tests/zfs-tests/tests/functional/migration/migration_004_pos.ksh
tests/zfs-tests/tests/functional/migration/migration_005_pos.ksh
tests/zfs-tests/tests/functional/migration/migration_006_pos.ksh

index 98689e181a4a055907b105f9c4eea712ac5a16bd..81b822da610aa73f7885dee5a015dc0a09e8c53b 100755 (executable)
@@ -61,7 +61,7 @@ cd $DNAME
 (( $? != 0 )) && log_untested "Could not change directory to $DNAME"
 
 $LS $BNAME | $CPIO -oc > $TESTDIR/cpio$$.cpio
-(( $? != 0 )) && log_failED "Unable to create cpio archive"
+(( $? != 0 )) && log_fail "Unable to create cpio archive"
 
 cd $cwd
 (( $? != 0 )) && log_untested "Could not change directory to $cwd"
index 288b125cdcb617223616c47bbbdb1e180055ac03..95ca47a2421472ca98e60d2bf2dc8a762b2c15cd 100755 (executable)
@@ -61,7 +61,7 @@ cd $DNAME
 (( $? != 0 )) && log_untested "Could not change directory to $DNAME"
 
 $LS $BNAME | $CPIO -oc > $TESTDIR/cpio$$.cpio
-(( $? != 0 )) && log_failED "Unable to create cpio archive"
+(( $? != 0 )) && log_fail "Unable to create cpio archive"
 
 cd $cwd
 (( $? != 0 )) && log_untested "Could not change directory to $cwd"
index 97e7a01b0b2819c2e72384e95c3df6460bfe8d7a..d88947987e2b661d5cfe5dc16c180d5641216692 100755 (executable)
@@ -61,7 +61,7 @@ cd $DNAME
 (( $? != 0 )) && log_untested "Could not change directory to $DNAME"
 
 $LS $BNAME | $CPIO -oc > $NONZFS_TESTDIR/cpio$$.cpio
-(( $? != 0 )) && log_failED "Unable to create cpio archive"
+(( $? != 0 )) && log_fail "Unable to create cpio archive"
 
 cd $cwd
 (( $? != 0 )) && log_untested "Could not change directory to $cwd"