From 50c99a1a07feed6f160a700c5f39becc10f04802 Mon Sep 17 00:00:00 2001 From: Hans Bolinder Date: Tue, 9 Jan 2018 15:03:36 +0100 Subject: dialyzer: Add a test of erl_tar:table/1,2 --- lib/dialyzer/test/small_SUITE_data/src/erl_tar_table.erl | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 lib/dialyzer/test/small_SUITE_data/src/erl_tar_table.erl (limited to 'lib/dialyzer/test/small_SUITE_data/src') diff --git a/lib/dialyzer/test/small_SUITE_data/src/erl_tar_table.erl b/lib/dialyzer/test/small_SUITE_data/src/erl_tar_table.erl new file mode 100644 index 0000000000..2dc00d272a --- /dev/null +++ b/lib/dialyzer/test/small_SUITE_data/src/erl_tar_table.erl @@ -0,0 +1,14 @@ +-module(erl_tar_table). + +%% OTP-14860, PR 1670. + +-export([t/0, v/0, x/0]). + +t() -> + {ok, ["file"]} = erl_tar:table("table.tar"). + +v() -> + {ok, [{_,_,_,_,_,_,_}]} = erl_tar:table("table.tar", [verbose]). + +x() -> + {ok, ["file"]} = erl_tar:table("table.tar", []). -- cgit v1.2.3