test_scrypt.sh 516 B

12345678910111213141516171819202122
  1. #!/bin/sh
  2. ### Find script directory and load helper functions.
  3. scriptdir=$(CDPATH='' cd -- "$(dirname -- "$0")" && pwd -P)
  4. . "${scriptdir}/shared_test_functions.sh"
  5. ### Project-specific constants and setup
  6. out="${bindir}/tests-output"
  7. out_valgrind="${bindir}/tests-valgrind"
  8. # Constants used in multiple scenarios for this project.
  9. password="hunter2"
  10. # Find system scrypt, and ensure it supports -P.
  11. system_scrypt=$( find_system scrypt "enc -P" )
  12. ### Run tests using project-specific constants
  13. run_scenarios