it v1.2.3'/>
<meta name='robots' content='noindex, nofollow'/>
<link rel='stylesheet' type='text/css' href='/cgit-static/cgit.css'/>
<link rel='stylesheet' type='text/css' href='/cgit-static/better-cgit-markdown-heading-color.css'/>
<link rel='shortcut icon' href='/cgit-static/favicon.ico'/>
<link rel='alternate' title='Atom feed' href='https://git.koszko.org/guix/atom/tests/guix-graph.sh?h=koszko' type='application/atom+xml'/>
</head>
<body>
<div id='cgit'><table id='header'>
<tr>
<td class='logo' rowspan='2'><a href='/'><img src='https://git.koszko.org/cgit-static/cgit.png' alt='cgit logo'/></a></td>
<td class='main'><a href='/'>index</a> : <a href='/guix/'>guix</a></td><td class='form'><form method='get'>
<input type='hidden' name='id' value='028959236dee5e2f851218ea6418675531b400cd'/><select name='h' onchange='this.form.submit();'>
<option value='koszko' selected='selected'>koszko</option>
<option value='koszko-scripts'>koszko-scripts</option>
</select> <input type='submit' value='switch'/></form></td></tr>
<tr><td class='sub'>Wojtek's customized Guix</td><td class='sub right'></td></tr></table>
<table class='tabs'><tr><td>
<a href='/guix/about/'>about</a><a href='/guix/'>summary</a><a href='/guix/refs/?id=028959236dee5e2f851218ea6418675531b400cd'>refs</a><a class='active' href='/guix/log/tests/guix-graph.sh'>log</a><a href='/guix/tree/tests/guix-graph.sh?id=028959236dee5e2f851218ea6418675531b400cd'>tree</a><a href='/guix/commit/tests/guix-graph.sh?id=028959236dee5e2f851218ea6418675531b400cd'>commit</a><a href='/guix/diff/tests/guix-graph.sh?id=028959236dee5e2f851218ea6418675531b400cd'>diff</a></td><td class='form'><form class='right' method='get' action='/guix/log/tests/guix-graph.sh'>
<input type='hidden' name='id' value='028959236dee5e2f851218ea6418675531b400cd'/><select name='qt'>
<option value='grep'>log msg</option>
<option value='author'>author</option>
<option value='committer'>committer</option>
<option value='range'>range</option>
</select>
<input class='txt' type='search' size='10' name='q' value=''/>
<input type='submit' value='search'/>
</form>
</td></tr></table>
<div class='path'>path: <a href='/guix/log/?id=028959236dee5e2f851218ea6418675531b400cd'>root</a>/<a href='/guix/log/tests?id=028959236dee5e2f851218ea6418675531b400cd'>tests</a>/<a href='/guix/log/tests/guix-graph.sh?id=028959236dee5e2f851218ea6418675531b400cd'>guix-graph.sh</a></div><div class='content'><table class='list nowrap'><tr class='nohover'><th class='left'>Age</th><th class='left'>Commit message (<a href='/guix/log/tests/guix-graph.sh?id=028959236dee5e2f851218ea6418675531b400cd&amp;showmsg=1'>Expand</a>)</th><th class='left'>Author</th></tr>
<tr><td><span title='2023-09-26 17:36:57 +0200'>2023-09-26</span></td><td><a href='/guix/commit/tests/guix-graph.sh?id=7f3ebd6dbcae830e60b78d6bab8f1dbad90ba3a8'>tests: Adjust ‘guix graph --path’ test to latest Emacs changes.</a><span class='msg-avail'>...<span class='msg-tooltip'>This is a followup to 3349a50d700a2112a31ac4ce6cc6639d3b4cf1e2.

* tests/guix-graph.sh: Adjust ‘path’.
</span></span></td><td>Ludovic Courtès</td></tr>
<tr><td><span title='2023-04-28 19:50:39 +0200'>2023-04-28</span></td><td><a href='/guix/commit/tests/guix-graph.sh?id=ee88acc6e22595bbf4a6f07332ed4308d6a6e3cf'>tests: guix-graph.sh: Fix expected path from emacs to libffi.</a><span class='msg-avail'>...<span class='msg-tooltip'>* tests/guix-graph.sh: Change the expected path from emacs to libffi.  `guix
graph --path` outputs only one possible path, and the one it outputs for this
case has changed.

Signed-off-by: Ludovic Courtès &lt;ludo@gnu.org&gt;
</span></span></td><td>Josselin Poiret</td></tr>
<tr><td><span title='2023-04-21 16:16:38 +0200'>2023-04-21</span></td><td><a href='/guix/commit/tests/guix-graph.sh?id=37dd69b44511dc73eb04bdebe8d82c9a0386338e'>tests: Fix checks for expected failures.</a><span class='msg-avail'>...<span class='msg-tooltip'>Addresses &lt;https://issues.guix.gnu.org/62406&gt;.

With 'set -e', a return status inverted with '!' does not cause the shell to
exit immediately.  Instead use '&amp;&amp; false' to indicate an expected failure.

* tests/guix-archive.sh, tests/guix-build-branch.sh, tests/guix-build.sh,
tests/guix-daemon.sh, tests/guix-download.sh,
tests/guix-environment-container.sh, tests/guix-environment.sh,
tests/guix-gc.sh, tests/guix-git-authenticate.sh, tests/guix-graph.sh,
tests/guix-hash.sh, tests/guix-home.sh, tests/guix-pack-relocatable.sh,
tests/guix-pack.sh, tests/guix-package-aliases.sh, tests/guix-package-net.sh,
tests/guix-package.sh, tests/guix-refresh.sh, tests/guix-shell.sh,
tests/guix-style.sh, tests/guix-system.sh: Replace uses of '! ...' with
'... &amp;&amp; false' or `test ! ...` as appropriate.

Signed-off-by: Ludovic Courtès &lt;ludo@gnu.org&gt;
</span></span></td><td>Eric Bavier</td></tr>
<tr><td><span title='2022-01-16 23:56:56 +0100'>2022-01-16</span></td><td><a href='/guix/commit/tests/guix-graph.sh?id=a1037aa87b39d4c774fe398fc97a58bafeb063d1'>tests: Clean up after 'tests/guix-graph.sh'.</a><span class='msg-avail'>...<span class='msg-tooltip'>Fixes a regression introduced in
a773c3142dd168e1c4480614d3f5fd9d003954cd, which would lead the first
'trap' to be ignored, thereby leaving 't-guix-graph-*' directories
behind it.

* tests/guix-graph.sh: Remove first 'trap' line that had no effect;
replace second 'trap' line.
</span></span></td><td>Ludovic Courtès</td></tr>
<tr><td><span title='2020-09-28 21:06:36 -0500'>2020-09-28</span></td><td><a href='/guix/commit/tests/guix-graph.sh?id=d8934360d2453a403b5433e71d09188e4ed23b57'>tests: Simplify shell exit status negation;</a><span class='msg-avail'>...<span class='msg-tooltip'>* tests/guix-archive.sh, tests/guix-build-branch.sh, tests/guix-build.sh,
tests/guix-daemon.sh, tests/guix-download.sh, tests/guix-environment.sh,
tests/guix-gc.sh, tests/guix-git-authenticate.sh, tests/guix-graph.sh,
tests/guix-hash.sh, tests/guix-lint.sh, tests/guix-pack-relocatable.sh,
tests/guix-pack.sh, tests/guix-package-aliases.sh, tests/guix-package-net.sh,
tests/guix-package.sh: Use the shell '!' keyword to negate command exit status
in place of 'if ...; then false; else true; fi'
</span></span></td><td>Eric Bavier</td></tr>
<tr><td><span title='2020-05-11 23:30:55 +0200'>2020-05-11</span></td><td><a href='/guix/commit/tests/guix-graph.sh?id=88a96c568c47c97d05d883ada5afbc4e1200b10f'>guix graph: Add '--path'.</a><span class='msg-avail'>...<span class='msg-tooltip'>* guix/scripts/graph.scm (display-path): New procedure.
(%options, show-help): Add '--path'.
(guix-graph): Handle it.
* tests/guix-graph.sh: Add tests.
* doc/guix.texi (Invoking guix graph): Document it.
(Invoking guix size): Mention it.
</span></span></td><td>Ludovic Courtès</td></tr>
<tr><td><span title='2020-01-16 15:27:20 +0100'>2020-01-16</span></td><td><a href='/guix/commit/tests/guix-graph.sh?id=ee9a735bc8f544cf8eedc6c6a7e4ed2962663013'>graph: Add '--load-path' option.</a><span class='msg-avail'>...<span class='msg-tooltip'>* guix/scripts/graph.scm (%option): Add '--load-path' option.
* doc/guix.texi: Document it.
* tests/guix-graph.sh: Test it.
</span></span></td><td>Pierre Neidhardt</td></tr>
<tr><td><span title='2019-11-07 18:39:55 +0100'>2019-11-07</span></td><td><a href='/guix/commit/tests/guix-graph.sh?id=3e962e59d849e4300e447d94487684102d9d412e'>graph: Support package transformation options.</a><span class='msg-avail'>...<span class='msg-tooltip'>* guix/scripts/graph.scm (%options): Append %TRANSFORMATION-OPTIONS.
(show-help): Call 'show-transformation-options-help'.
(guix-graph): Call 'options-&gt;transformation' and use it.
* tests/guix-graph.sh: Add test.
* doc/guix.texi (Invoking guix graph): Document it.
</span></span></td><td>Ludovic Courtès</td></tr>
<tr><td><span title='2016-05-21 01:35:14 +0200'>2016-05-21</span></td><td><a href='/guix/commit/tests/guix-graph.sh?id=a773c3142dd168e1c4480614d3f5fd9d003954cd'>graph: Allow store file names for 'derivation' and 'references' graphs.</a><span class='msg-avail'>...<span class='msg-tooltip'>* guix/scripts/graph.scm (%derivation-node-type)[convert]: Add
'derivation-path?' and catch-all clauses.
(%reference-node-type)[convert]: Add 'store-path?' and catch-all
clauses.
(assert-package, nodes-from-package): New procedures.
(%package-node-type, %bag-node-type,%bag-with-origins-node-type)
(%bag-emerged-node-type): Add 'convert' field
(guix-graph): Rename 'packages' to 'items' and
allow 'store-path?' arguments.
* guix/graph.scm (&lt;node-type&gt;)[convert]: Adjust comment.
* doc/guix.texi (Invoking guix graph): Document it.
</span></span></td><td>Ludovic Courtès</td></tr>
<tr><td><span title='2015-11-23 23:34:15 +0100'>2015-11-23</span></td><td><a href='/guix/commit/tests/guix-graph.sh?id=38b92daa81d6c5eca77ae0cc3d454da46a64b48a'>graph: Add '%bag-with-origins-node-type'.</a><span class='msg-avail'>...<span class='msg-tooltip'>* guix/scripts/graph.scm (bag-node-edges): Remove 'filter' call.  Add
case for 'origin'.
(%bag-node-type)[edges]: Add filtering here.
(%bag-with-origins-node-type): New variable.
(%node-types): Add it.
* tests/graph.scm ("bag DAG, including origins"): New test.
* tests/guix-graph.sh: Add 'bag-with-origins'.
* doc/guix.texi (Invoking guix graph): Document it.
</span></span></td><td>Ludovic Courtès</td></tr>
<tr><td><span title='2015-09-02 23:40:07 +0200'>2015-09-02</span></td><td><a href='/guix/commit/tests/guix-graph.sh?id=4c8f997a7d6f4c9d7eae73804e9784b4562eb213'>graph: Add '--expression'.</a><span class='msg-avail'>...<span class='msg-tooltip'>* guix/scripts/graph.scm (%options, show-help): Add '--expression'.
  (guix-graph): Call 'read/eval-package-expression' for 'expression'
  pairs in OPTS.
* tests/guix-graph.sh: Add tests.
* doc/guix.texi (Invoking guix graph): Document it.
</span></span></td><td>Ludovic Courtès</td></tr>
<tr><td><span title='2015-08-27 00:49:23 +0200'>2015-08-27</span></td><td><a href='/guix/commit/tests/guix-graph.sh?id=888569161c0cb55a2700806aded7128cfe605857'>Add 'guix graph'.</a><span class='msg-avail'>...<span class='msg-tooltip'>* guix/scripts/graph.scm, tests/graph.scm, tests/guix-graph.sh,
  doc/images/coreutils-bag-graph.dot, doc/images/coreutils-graph.dot: New
  files.
* Makefile.am (MODULES): Add guix/scripts/graph.scm.
  (SH_TESTS): Add tests/guix-graph.sh.
  (SCM_TESTS): Add tests/graph.scm.
* doc.am (DOT_FILES, DOT_VECTOR_GRAPHICS): New variables.
  (EXTRA_DIST): Use them.
  (dist_infoimage_DATA): Use $(DOT_FILES).
  (pdf-local, info-local, ps-local): Likewise.
* doc/guix.texi (Packages with Multiple Outputs): Add cross-reference to 'guix
  graph'.
  (Invoking guix gc): Likewise.
  (Invoking guix graph): New section.
</span></span></td><td>Ludovic Courtès</td></tr>
</table><ul class='pager'></ul></div> <!-- class=content -->
                         <div class=footer>generated by
                             <a href="https://git.zx2c4.com/cgit/about/">
                                 cgit
                             </a>
                         </div>
                        </div> <!-- id=cgit -->
</body>
</html>
