3 # Tests for the RENAME protocol command.
8 .
$AM_SRCDIR/import-common.sh
12 cat >$OUTDIR/config
<< EOF
18 passphrase_file=$WDIR/passphrase.key
20 mv -f data
/list data
/rename || bail_out
"Could not move data/list."
25 run_pwmc
"-S rename" $DEVNULL <<EOF
28 test_failure
$test_n $?
536903715 "Fail to rename to self."
32 run_pwmc
"-S rename" $DEVNULL <<EOF
36 test_result
$test_n $? rename
"Rename to self target."
40 run_pwmc
"-S rename" $DEVNULL <<EOF
44 test_result
$test_n $? rename
"Rename."