summaryrefslogtreecommitdiff
path: root/tests/t0050-mv-tests.sh
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
tions'>-40/+75 2014-03-18Shred shm files.Jason A. Donenfeld3-1/+4 2014-03-18Do not compress passwords.Jason A. Donenfeld1-1/+1 2013-09-14Use a glob in the pattern match instead of using two comparisons for [yY].Chris Down1-1/+1 2013-09-14Rephrase awkward/confusing message about enabling echo during password entry.Chris Down1-3/+3 2013-09-14Fix directory traversal for reencryption when $PREFIX is a symlinkBrian Shore1-1/+1 2013-08-26Makefile: Do not install bash completion to /etcLukas Fleischer1-3/+2 2013-05-22check if a passfile exists before checking for directoryBrian Mattern1-13/+12