about summary refs log tree commit diff
path: root/pkgs/test/make-binary-wrapper/combination.c
diff options
context:
space:
mode:
authorJacek Galowicz <jacek@galowicz.de>2021-12-07 17:39:38 +0000
committerJacek Galowicz <jacek@galowicz.de>2021-12-09 11:32:28 +0000
commit2bc7345064f5fc454282f044589e9f4b288257d4 (patch)
tree632c70a081eca87970c9162c122c6010a9d72bce /pkgs/test/make-binary-wrapper/combination.c
parentf3b16a6b5d9d027f2a5d7f732378b90495c8bcdf (diff)
Add golden effects test
Diffstat (limited to 'pkgs/test/make-binary-wrapper/combination.c')
-rw-r--r--pkgs/test/make-binary-wrapper/combination.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/pkgs/test/make-binary-wrapper/combination.c b/pkgs/test/make-binary-wrapper/combination.c
index bb35d0d99f314..e9ce5f1d72440 100644
--- a/pkgs/test/make-binary-wrapper/combination.c
+++ b/pkgs/test/make-binary-wrapper/combination.c
@@ -1,11 +1,3 @@
-// makeCWrapper /path/to/executable \
-    --argv0 my-wrapper \
-    --set-default MESSAGE HELLO \
-    --prefix PATH : /usr/bin/ \
-    --suffix PATH : /usr/local/bin/ \
-    --add-flags "-x -y -z" \
-    --set MESSAGE2 WORLD
-
 #define _GNU_SOURCE         /* See feature_test_macros(7) */
 #include <unistd.h>
 #include <stdlib.h>
@@ -57,5 +49,5 @@ int main(int argc, char **argv) {
     argv = argv_tmp;
 
     argv[0] = "my-wrapper";
-    return execv("/path/to/executable", argv);
+    return execv("/send/me/flags", argv);
 }