Setup atfork handles when using pinentry.
[pwmd.git] / tests / import-xml.test
blobec6ca96f1ec52208320b9160e27981f469b5f5dd
1 #!/bin/bash
2 source common.sh
3 source import-common.sh
5 do_import datafile
7 cat > config << EOF
8 [$FILE]
9 passphrase_file=$WDIR/$FILE.key
10 EOF
12 launch_pwmd datafile
13 begin_test
14 echo "Test 1. Import data file."
15 echo 'DUMP' | pwmc $PWMC_ARGS --key-file datafile.key datafile > result
16 cmp result datafile.xml
17 rm -f result
19 test_success