From 6ff2f308e61686f3b63421bf24ae3029fa6d3911 Mon Sep 17 00:00:00 2001 From: Filippo Valsorda Date: Sat, 29 Aug 2026 18:41:48 +0200 Subject: [PATCH] cmd/age: enable PTY tests on Darwin --- cmd/age/testdata/batchpass.txt | 1 - cmd/age/testdata/encrypted_keys.txt | 1 - cmd/age/testdata/output_file.txt | 1 - cmd/age/testdata/scrypt.txt | 1 - cmd/age/testdata/terminal.txt | 1 - 5 files changed, 5 deletions(-) diff --git a/cmd/age/testdata/batchpass.txt b/cmd/age/testdata/batchpass.txt index a37361c..2f9b8b4 100644 --- a/cmd/age/testdata/batchpass.txt +++ b/cmd/age/testdata/batchpass.txt @@ -42,7 +42,6 @@ stderr 'incompatible recipients' # decrypt with native scrypt [!linux] [!darwin] skip # no pty support -[darwin] [go1.20] skip # https://go.dev/issue/61779 ttyin terminal age -d test.age cmp stdout input diff --git a/cmd/age/testdata/encrypted_keys.txt b/cmd/age/testdata/encrypted_keys.txt index 58a4e10..04002aa 100644 --- a/cmd/age/testdata/encrypted_keys.txt +++ b/cmd/age/testdata/encrypted_keys.txt @@ -2,7 +2,6 @@ # age file password prompt during encryption [!linux] [!darwin] skip # no pty support -[darwin] [go1.20] skip # https://go.dev/issue/61779 # use an encrypted OpenSSH private key without .pub file age -R key_ed25519.pub -o ed25519.age input diff --git a/cmd/age/testdata/output_file.txt b/cmd/age/testdata/output_file.txt index 6633c3c..3ed46c3 100644 --- a/cmd/age/testdata/output_file.txt +++ b/cmd/age/testdata/output_file.txt @@ -60,7 +60,6 @@ stderr 'input and output file are the same' cmp key.txt keycopy [!linux] [!darwin] skip # no pty support -[darwin] [go1.20] skip # https://go.dev/issue/61779 ttyin terminal ! age -p -o inputcopy inputcopy diff --git a/cmd/age/testdata/scrypt.txt b/cmd/age/testdata/scrypt.txt index 5e48473..d13ab3e 100644 --- a/cmd/age/testdata/scrypt.txt +++ b/cmd/age/testdata/scrypt.txt @@ -1,5 +1,4 @@ [!linux] [!darwin] skip # no pty support -[darwin] [go1.20] skip # https://go.dev/issue/61779 # encrypt with a provided passphrase stdin input diff --git a/cmd/age/testdata/terminal.txt b/cmd/age/testdata/terminal.txt index b2cf007..ecd0b3f 100644 --- a/cmd/age/testdata/terminal.txt +++ b/cmd/age/testdata/terminal.txt @@ -1,5 +1,4 @@ [!linux] [!darwin] skip # no pty support -[darwin] [go1.20] skip # https://go.dev/issue/61779 # controlling terminal is used instead of stdin/stderr ttyin terminal