monotone-commits-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-commits-diffs] net.venge.monotone.alt_tmpdir: 7cbdcccee91d7236


From: code
Subject: [Monotone-commits-diffs] net.venge.monotone.alt_tmpdir: 7cbdcccee91d72361dedcd7d99beb01697e2553a
Date: Wed, 4 May 2011 09:11:28 +0200 (CEST)

revision:            7cbdcccee91d72361dedcd7d99beb01697e2553a
date:                2011-05-04T07:11:01
author:              address@hidden
branch:              net.venge.monotone.alt_tmpdir
changelog:
* test/func/alt_tmpdir/__driver__.lua: improve; now shows error on unrecognized 
option 

* test/func/alt_tmpdir/options_line.text: New file.

manifest:
format_version "1"

new_manifest [7af67a1eab025397e0ba5b2b40d2999d9d563a4d]

old_revision [9fd348f21261032d6e270b62c2e62b03f206d488]

add_file "test/func/alt_tmpdir/options_line.text"
 content [30a5ae5a444adef0029e1c8db80e02bc120ec720]

patch "test/func/alt_tmpdir/__driver__.lua"
 from [e141a6dc7389f0baf33052e60ec3abfb79f9063d]
   to [1a104f34a0f9484bed0d6b6471f1269803448ed6]
============================================================
--- test/func/alt_tmpdir/__driver__.lua	e141a6dc7389f0baf33052e60ec3abfb79f9063d
+++ test/func/alt_tmpdir/__driver__.lua	1a104f34a0f9484bed0d6b6471f1269803448ed6
@@ -19,18 +19,19 @@ rev0 = base_revision()
 commit()
 rev0 = base_revision()
 
-addfile("local/local-dir/file1", "local file 1\n")
-addfile("local/local-dir/file2", "local file 2\n")
+addfile("local/file1", "local file 1\n")
+addfile("local/file2", "local file 2\n")
 
-addfile("nfs_mounted/nfs_mounted-dir/file1", "nfs_mounted file 1\n")
-addfile("nfs_mounted/nfs_mounted-dir/file2", "nfs_mounted file 2\n")
+addfile("nfs_mounted/file1", "nfs_mounted file 1\n")
+addfile("nfs_mounted/file2", "nfs_mounted file 2\n")
 
 commit()
 rev1 = base_revision()
 
 revert_to(rev0)
 
-execute(["echo", "tmpdir \"nfs_mounted\" \"nfs_mounted/tmp\" > _MTN/options"]) 
+get("options_line.text")
+execute("sh", "-c", 'cat options_line.text >> _MTN/options') 
 
 mkdir("nfs_mounted/tmp")
 
============================================================
--- /dev/null	
+++ test/func/alt_tmpdir/options_line.text	30a5ae5a444adef0029e1c8db80e02bc120ec720
@@ -0,0 +1 @@
+  tmpdir "nfs_mounted" "nfs_mounted/tmp"

reply via email to

[Prev in Thread] Current Thread [Next in Thread]