3 # Tests for the RENAME protocol command.
8 .
$AM_SRCDIR/import-common.sh
12 cat >$OUTDIR/config
<< EOF
17 passphrase_file=$WDIR/passphrase.key
19 mv -f data
/list data
/rename || bail_out
"Could not move data/list."
24 run_pwmc
"-S rename" $DEVNULL <<EOF
27 test_failure
$test_n $?
536903715 "Fail to rename to self."
31 run_pwmc
"-S rename" $DEVNULL <<EOF
35 test_result
$test_n $? rename
"Rename to self target."
39 run_pwmc
"-S rename" $DEVNULL <<EOF
43 test_result
$test_n $? rename
"Rename."