(t *testing.T)
| 234 | } |
| 235 | |
| 236 | func TestCryptoKeyPair(t *testing.T) { |
| 237 | testscript.Run(t, testscript.Params{ |
| 238 | Files: []string{"testdata/crypto/keypair.txtar"}, |
| 239 | Setup: func(e *testscript.Env) error { |
| 240 | return os.WriteFile(filepath.Join(e.Cd, "password.txt"), []byte("password"), 0600) |
| 241 | }, |
| 242 | Cmds: map[string]func(ts *testscript.TestScript, neg bool, args []string){ |
| 243 | "check_key_pair": checkKeyPair, |
| 244 | }, |
| 245 | }) |
| 246 | } |
| 247 | |
| 248 | func TestCryptoOTP(t *testing.T) { |
| 249 | testscript.Run(t, testscript.Params{ |
nothing calls this directly
no test coverage detected
searching dependent graphs…