about summary refs log tree commit diff
path: root/test
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2003-03-28T10·33+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2003-03-28T10·33+0000
commit278ea4097e4deca33da1a08d746e8d80a620ce95 (patch)
tree840c57c4501e5adeae44733417a64d4bfbd66775 /test
parentf915f773495e9675a6cd514742666c8c12f005e6 (diff)
* Don't fork in `nix run'.
Diffstat (limited to 'test')
-rwxr-xr-xtest/build/pan-run.sh5
-rw-r--r--test/tmpl/pan-0.13.91-run.nix2
2 files changed, 5 insertions, 2 deletions
diff --git a/test/build/pan-run.sh b/test/build/pan-run.sh
index c933a38039eb..1d9db5377650 100755
--- a/test/build/pan-run.sh
+++ b/test/build/pan-run.sh
@@ -4,4 +4,7 @@ export LD_LIBRARY_PATH=$glib/lib:$atk/lib:$pango/lib:$gtk/lib:$gnet/lib:$pspell/
 
 ldd $pan/bin/pan
 
-$pan/bin/pan $*
\ No newline at end of file
+prog=$1
+shift
+
+$pan/bin/$prog $*
diff --git a/test/tmpl/pan-0.13.91-run.nix b/test/tmpl/pan-0.13.91-run.nix
index a28459916cd8..f9c13e64d71e 100644
--- a/test/tmpl/pan-0.13.91-run.nix
+++ b/test/tmpl/pan-0.13.91-run.nix
@@ -1,4 +1,4 @@
-id : pan-0.13.91-run
+id : pan-0.13.91-run-2
 
 pan <- ./pan-0.13.91.nix