aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dialyzer
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2018-01-09 15:03:36 +0100
committerHans Bolinder <[email protected]>2018-01-09 15:08:57 +0100
commit50c99a1a07feed6f160a700c5f39becc10f04802 (patch)
tree8197fac0b072bc982e3ed77029b0f2e468ff4e96 /lib/dialyzer
parent21214178d05ffa482d7377a22285b38834566d2c (diff)
downloadotp-50c99a1a07feed6f160a700c5f39becc10f04802.tar.gz
otp-50c99a1a07feed6f160a700c5f39becc10f04802.tar.bz2
otp-50c99a1a07feed6f160a700c5f39becc10f04802.zip
dialyzer: Add a test of erl_tar:table/1,2
Diffstat (limited to 'lib/dialyzer')
-rw-r--r--lib/dialyzer/test/small_SUITE_data/src/erl_tar_table.erl14
1 files changed, 14 insertions, 0 deletions
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", []).