Skip to content
Snippets Groups Projects
t0100-insert-tests.sh 300 B
Newer Older
  • Learn to ignore specific revisions
  • #!/bin/sh
    
    test_description='Test insert'
    . ./setup.sh
    
    export TEST_CRED="test_cred"
    export TEST_PASSWORD="Hello world"
    
    test_expect_success 'Test "insert" command' '
    	pass_init &&
    	echo "$TEST_PASSWORD" | ${PASS} insert -e "$TEST_CRED" &&
    	verify_password "$TEST_CRED" "$TEST_PASSWORD"
    '
    
    test_done