[med-svn] [cnrun] 05/05: do any writing in make test in ./_test

andrei zavada hmmr-guest at moszumanska.debian.org
Wed Dec 28 17:57:01 UTC 2016


This is an automated email from the git hooks/post-receive script.

hmmr-guest pushed a commit to branch WIP
in repository cnrun.

commit 9cbeb6bc7a1c75eb8c1e4ade15142f23e29cf065
Author: Andrei Zavada <johnhommer at gmail.com>
Date:   Wed Dec 28 19:42:18 2016 +0200

    do any writing in make test in ./_test
---
 upstream/doc/examples/example1.lua | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/upstream/doc/examples/example1.lua b/upstream/doc/examples/example1.lua
index e991f44..ae4efac 100644
--- a/upstream/doc/examples/example1.lua
+++ b/upstream/doc/examples/example1.lua
@@ -131,13 +131,16 @@ do
    print ()
 end
 
+Pw ("Import NML")
 ASSERT (M.import_nml (C, mname, "m.nml"))
 
 
 do
    Pw ("Testing NML export")
    local mname2 = "FAFA2"
-   local f2 = "/tmp/m2.nml"
+   -- cwd is specially created for us in test target: ./ is entirely
+   -- at our disposal
+   local f2 = "./m2.nml"
 
    Pw ("Exporting to " .. f2)
    ASSERT (

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/cnrun.git



More information about the debian-med-commit mailing list