Репозиторий Sisyphus
Последнее обновление: 23 апреля 2019 | Пакетов: 17650 | Посещений: 13460954
en ru br
Репозитории ALT

Группа :: Development/Erlang
Пакет: erlang-jose

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: erlang-jose-fedora-use-include-instead-of-include_lib-for-jose-in-tests.patch
Скачать


From 52a1c2cec5fbf05fda55061834e39aba10a0f85f Mon Sep 17 00:00:00 2001
From: Randy Barlow <randy@electronsweatshop.com>
Date: Sun, 14 Jan 2018 11:21:12 -0500
Subject: [PATCH] Use include instead of include_lib for jose in tests.
fixes #41
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
---
 test/jose_SUITE.erl                                   | 2 +-
 test/property_test/jose_jwk_kty_okp_ed25519_props.erl | 2 +-
 test/property_test/jose_jwk_kty_okp_ed448_props.erl   | 2 +-
 test/property_test/jose_jwk_kty_okp_x25519_props.erl  | 2 +-
 test/property_test/jose_jwk_kty_okp_x448_props.erl    | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/test/jose_SUITE.erl b/test/jose_SUITE.erl
index 8645bd0..dcc9393 100644
--- a/test/jose_SUITE.erl
+++ b/test/jose_SUITE.erl
@@ -3,7 +3,7 @@
 -module(jose_SUITE).
 
 -include_lib("common_test/include/ct.hrl").
--include_lib("jose/include/jose_public_key.hrl").
+-include("jose_public_key.hrl").
 -include_lib("public_key/include/public_key.hrl").
 
 -include("jose.hrl").
diff --git a/test/property_test/jose_jwk_kty_okp_ed25519_props.erl b/test/property_test/jose_jwk_kty_okp_ed25519_props.erl
index 0b76d5a..e7c9205 100644
--- a/test/property_test/jose_jwk_kty_okp_ed25519_props.erl
+++ b/test/property_test/jose_jwk_kty_okp_ed25519_props.erl
@@ -2,7 +2,7 @@
 %% vim: ts=4 sw=4 ft=erlang noet
 -module(jose_jwk_kty_okp_ed25519_props).
 
--include_lib("jose/include/jose_public_key.hrl").
+-include("jose_public_key.hrl").
 
 -include_lib("triq/include/triq.hrl").
 
diff --git a/test/property_test/jose_jwk_kty_okp_ed448_props.erl b/test/property_test/jose_jwk_kty_okp_ed448_props.erl
index fb01223..607d3f7 100644
--- a/test/property_test/jose_jwk_kty_okp_ed448_props.erl
+++ b/test/property_test/jose_jwk_kty_okp_ed448_props.erl
@@ -2,7 +2,7 @@
 %% vim: ts=4 sw=4 ft=erlang noet
 -module(jose_jwk_kty_okp_ed448_props).
 
--include_lib("jose/include/jose_public_key.hrl").
+-include("jose_public_key.hrl").
 
 -include_lib("triq/include/triq.hrl").
 
diff --git a/test/property_test/jose_jwk_kty_okp_x25519_props.erl b/test/property_test/jose_jwk_kty_okp_x25519_props.erl
index 82c034d..919d868 100644
--- a/test/property_test/jose_jwk_kty_okp_x25519_props.erl
+++ b/test/property_test/jose_jwk_kty_okp_x25519_props.erl
@@ -2,7 +2,7 @@
 %% vim: ts=4 sw=4 ft=erlang noet
 -module(jose_jwk_kty_okp_x25519_props).
 
--include_lib("jose/include/jose_public_key.hrl").
+-include("jose_public_key.hrl").
 
 -include_lib("triq/include/triq.hrl").
 
diff --git a/test/property_test/jose_jwk_kty_okp_x448_props.erl b/test/property_test/jose_jwk_kty_okp_x448_props.erl
index da0e38f..1a4c109 100644
--- a/test/property_test/jose_jwk_kty_okp_x448_props.erl
+++ b/test/property_test/jose_jwk_kty_okp_x448_props.erl
@@ -2,7 +2,7 @@
 %% vim: ts=4 sw=4 ft=erlang noet
 -module(jose_jwk_kty_okp_x448_props).
 
--include_lib("jose/include/jose_public_key.hrl").
+-include("jose_public_key.hrl").
 
 -include_lib("triq/include/triq.hrl").
 
-- 
2.15.1
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin