From b18194e24d9b764bcd912ac87c2132a6c3866a21 Mon Sep 17 00:00:00 2001 From: Tuncer Ayaz Date: Sat, 29 Jan 2011 17:37:15 +0100 Subject: Fix file existence checks --- inttest/tdeps1/tdeps1_rt.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inttest/tdeps1/tdeps1_rt.erl') diff --git a/inttest/tdeps1/tdeps1_rt.erl b/inttest/tdeps1/tdeps1_rt.erl index 5eb831d..690e273 100644 --- a/inttest/tdeps1/tdeps1_rt.erl +++ b/inttest/tdeps1/tdeps1_rt.erl @@ -33,7 +33,7 @@ run(Dir) -> {ok, _} = retest_sh:run("./rebar get-deps compile", []), - true = filelib:is_file("ebin/a.beam"), + true = filelib:is_regular("ebin/a.beam"), ok. -- cgit v1.1 From 7710ab0d9f5be0833179d08d6eeb5da53ac1ed36 Mon Sep 17 00:00:00 2001 From: Tuncer Ayaz Date: Mon, 31 Jan 2011 19:11:50 +0100 Subject: Fix warning --- inttest/tdeps1/tdeps1_rt.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inttest/tdeps1/tdeps1_rt.erl') diff --git a/inttest/tdeps1/tdeps1_rt.erl b/inttest/tdeps1/tdeps1_rt.erl index 690e273..9072e9c 100644 --- a/inttest/tdeps1/tdeps1_rt.erl +++ b/inttest/tdeps1/tdeps1_rt.erl @@ -23,7 +23,7 @@ files() -> {copy, "c.hrl", "repo/c/include/c.hrl"} ]. -run(Dir) -> +run(_Dir) -> %% Initialize the b/c apps as mercurial repos so that dependencies pull %% properly HgCmd = "/bin/sh -c \"hg init && hg add && hg commit -m 'Initial commit'\"", -- cgit v1.1