summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2021-11-18 22:59:40 +0100
committerLudovic Courtès <ludo@gnu.org>2021-11-18 22:59:40 +0100
commit3ad135625b7c33f9c680943a6b79e4593c308249 (patch)
treeb1eda47265cbbe07aa4d12ebb5e267600e428896
parentbcff9d6388dc1cad38fbfb3983f97f52d0533301 (diff)
downloadguix-3ad135625b7c33f9c680943a6b79e4593c308249.tar.gz
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.
-rw-r--r--tests/guix-shell.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/guix-shell.sh b/tests/guix-shell.sh
index 3bdf625189..7c42fd67ed 100644
--- a/tests/guix-shell.sh
+++ b/tests/guix-shell.sh
@@ -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"