Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Tor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Tor Project
Core
Tor
Commits
91ca4344
Commit
91ca4344
authored
9 years ago
by
Nick Mathewson
Browse files
Options
Downloads
Patches
Plain Diff
Add a little more output to test_keygen.sh: try to debug windows
parent
1d514b8a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/test/test_keygen.sh
+2
-2
2 additions, 2 deletions
src/test/test_keygen.sh
with
2 additions
and
2 deletions
src/test/test_keygen.sh
+
2
−
2
View file @
91ca4344
...
...
@@ -109,7 +109,7 @@ check_file "${DATA_DIR}/encrypted/keys/ed25519_signing_cert"
check_file
"
${
DATA_DIR
}
/encrypted/keys/ed25519_signing_secret_key"
echo
"=== Starting tests."
echo
"=== Starting
keygen
tests."
#
# The "case X" numbers below come from s7r's email on
...
...
@@ -124,7 +124,7 @@ ME="${DATA_DIR}/case2a"
SRC
=
"
${
DATA_DIR
}
/orig"
mkdir
-p
"
${
ME
}
/keys"
cp
"
${
SRC
}
/keys/ed25519_master_id_public_key"
"
${
ME
}
/keys/"
${
TOR
}
--DataDirectory
"
${
ME
}
"
--list-fingerprint
>
"
${
ME
}
/stdout"
&&
die
"Somehow succeeded when missing secret key, certs"
||
true
${
TOR
}
--DataDirectory
"
${
ME
}
"
--list-fingerprint
>
"
${
ME
}
/stdout"
&&
die
"Somehow succeeded when missing secret key, certs
:
`
cat
${
ME
}
/stdout
`
"
||
true
check_files_eq
"
${
SRC
}
/keys/ed25519_master_id_public_key"
"
${
ME
}
/keys/ed25519_master_id_public_key"
grep
"We needed to load a secret key.*but couldn't find it"
"
${
ME
}
/stdout"
>
/dev/null
||
die
"Tor didn't declare that it was missing a secret key"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment