Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: Tarsnap/scrypt
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 909a1910e04c79b3c49092775137d4d6d1a0b03f
Choose a base ref
..
head repository: Tarsnap/scrypt
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 27bd5ead08f470b764af207f854798215468f511
Choose a head ref
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/04-force-resources.sh
4 changes: 2 additions & 2 deletions tests/04-force-resources.sh
Original file line number Diff line number Diff line change
@@ -19,10 +19,10 @@ scenario_cmd() {

# Attempt to decrypt it with limited time. We want this
# command to fail, so we negate the normal return code.
setup_check "scrypt dec 1 second"
setup_check "scrypt dec 0.1 seconds"
(
echo "${password}" | ${c_valgrind_cmd} "${bindir}/scrypt" \
dec -P -t 1 "${longwait_encrypted_file}" \
dec -P -t 0.1 "${longwait_encrypted_file}" \
"${longwait_decrypted_file}" \
2> "${longwait_failed_log}"
expected_exitcode 1 $? > "${c_exitfile}"