forked from NixOS/nixpkgs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
age: Debug why builds fail on Darwin
derivation: - patch - only run TestScript/plugin test and be verbose age patch: - AGEDEBUG=plugin - remove stderr checks
- Loading branch information
Showing
2 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
diff --git a/cmd/age/testdata/plugin.txt b/cmd/age/testdata/plugin.txt | ||
index 01e3ed8..f8c3234 100644 | ||
--- a/cmd/age/testdata/plugin.txt | ||
+++ b/cmd/age/testdata/plugin.txt | ||
@@ -1,14 +1,14 @@ | ||
+env AGEDEBUG=plugin | ||
+ | ||
# encrypt and decrypt a file with a test plugin | ||
age -r age1test10qdmzv9q -o test.age input | ||
age -d -i key.txt test.age | ||
cmp stdout input | ||
-! stderr . | ||
|
||
# very long identity and recipient | ||
age -R long-recipient.txt -o test.age input | ||
age -d -i long-key.txt test.age | ||
cmp stdout input | ||
-! stderr . | ||
|
||
-- input -- | ||
test |