blob: d9d4b77768ce05ca9e8349b17b44bb6dace5d824 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/bin/bash
test_description='Test mv'
. ./setup.sh
export TEST_CRED="test_cred"
export TEST_CRED_NEW="test_cred_new"
test_expect_success 'Test "mv" command' '
pass_init &&
create_cred "${TEST_CRED}" &&
echo "Moving $TEST_CRED to $TEST_CRED_NEW" &&
$PASS mv "${TEST_CRED}" "${TEST_CRED_NEW}" &&
check_cred "${TEST_CRED_NEW}" &&
check_no_cred "${TEST_CRED}"
'
test_done
|