]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
test: Use portable arguments to /usr/bin/env
authorAlan Somers <asomers@gmail.com>
Mon, 28 Oct 2013 18:26:49 +0000 (11:26 -0700)
committerNoah Watkins <noahwatkins@gmail.com>
Mon, 28 Oct 2013 18:50:49 +0000 (11:50 -0700)
Don't use the "--ignore-environment" option to env.  It is a
nonstandard GNU extension.  The standard version is "-i".

Signed-off-by: Alan Somers <asomers@gmail.com>
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
src/test/run-cli-tests

index 321c1de4bb08daa51ce02924d7e6cfba5cff9d85..fec60dea8891c940b7390c6dd219b6a9ba00cf54 100755 (executable)
@@ -42,7 +42,7 @@ FAILED=0
 for tool in "$SRCDIR"/cli/*; do
     toolname="$(basename "$tool")"
     install -d -m0755 -- "$BUILDDIR/cli/$toolname"
-    if ! env --ignore-environment \
+    if ! env -i \
        PATH="$BUILDDIR_ABS/..:$SRCDIR_ABS/..:$PATH" \
        CEPH_CONF=/dev/null \
        CCACHE_DIR="$CCACHE_DIR" \