summaryrefslogtreecommitdiff
path: root/tests/misc/env-null
diff options
context:
space:
mode:
Diffstat (limited to 'tests/misc/env-null')
-rwxr-xr-xtests/misc/env-null9
1 files changed, 1 insertions, 8 deletions
diff --git a/tests/misc/env-null b/tests/misc/env-null
index 53d1b62c5..ed2e21d58 100755
--- a/tests/misc/env-null
+++ b/tests/misc/env-null
@@ -16,15 +16,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-
-if test "$VERBOSE" = yes; then
- set -x
- env --version
- env -- printenv --version
-fi
-
. $srcdir/test-lib.sh
-
+test "$VERBOSE" = yes && { env --version; env -- printenv --version; }
# POSIX is clear that environ may, but need not be, sorted.
# Environment variable values may contain newlines, which cannot be