~ruther/guix-local

3ad135625b7c33f9c680943a6b79e4593c308249 — Ludovic Courtès 4 years ago bcff9d6
shell: Adjust test to expect C_INCLUDE_PATH, not CPATH.

This is a followup to 2a3cd4ee3557fbbdca42b5ec2f3ec4546c270203.

* tests/guix-shell.sh: Expect C_INCLUDE_PATH instead of CPATH.
1 files changed, 3 insertions(+), 3 deletions(-)

M tests/guix-shell.sh
M tests/guix-shell.sh => tests/guix-shell.sh +3 -3
@@ 83,9 83,9 @@ then
    profile=`grep "^export PATH" "$tmpdir/a" | sed -r 's|^.*="(.*)/bin"|\1|'`

    # Make sure the bootstrap binaries are all listed where they belong.
    grep -E "^export PATH=\"$profile/bin\""         "$tmpdir/a"
    grep -E "^export CPATH=\"$profile/include\""    "$tmpdir/a"
    grep -E "^export LIBRARY_PATH=\"$profile/lib\"" "$tmpdir/a"
    grep -E "^export PATH=\"$profile/bin\""               "$tmpdir/a"
    grep -E "^export C_INCLUDE_PATH=\"$profile/include\"" "$tmpdir/a"
    grep -E "^export LIBRARY_PATH=\"$profile/lib\""       "$tmpdir/a"
    for dep in bootstrap-binaries-0 gcc-bootstrap-0 glibc-bootstrap-0
    do
	guix gc --references "$profile" | grep "$dep"