From 020c5449036c461ea1829e854da43429322059d6 Mon Sep 17 00:00:00 2001 From: netblue30 Date: Sun, 24 Apr 2016 06:32:15 -0400 Subject: testing --- test/environment/environment.sh | 47 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100755 test/environment/environment.sh (limited to 'test/environment/environment.sh') diff --git a/test/environment/environment.sh b/test/environment/environment.sh new file mode 100755 index 000000000..3041fcc12 --- /dev/null +++ b/test/environment/environment.sh @@ -0,0 +1,47 @@ +#!/bin/bash +# This file is part of Firejail project +# Copyright (C) 2014-2016 Firejail Authors +# License GPL v2 + +export MALLOC_CHECK_=3 +export MALLOC_PERTURB_=$(($RANDOM % 255 + 1)) + +echo "TESTING: environment variables (test/environment/env.exp)" +./env.exp + +echo "TESTING: shell none(test/environment/shell-none.exp)" +./shell-none.exp + +which dash +if [ "$?" -eq 0 ]; +then + echo "TESTING: dash (test/environment/dash.exp)" + ./dash.exp +else + echo "TESTING: dash not found" +fi + +which csh +if [ "$?" -eq 0 ]; +then + echo "TESTING: csh (test/environment/csh.exp)" + ./csh.exp +else + echo "TESTING: csh not found" +fi + +which zsh +if [ "$?" -eq 0 ]; +then + echo "TESTING: zsh (test/environment/zsh.exp)" + ./csh.exp +else + echo "TESTING: zsh not found" +fi + +echo "TESTING: rlimit (test/environment/rlimit.exp)" +./rlimit.exp + +echo "TESTING: rlimit profile (test/environment/rlimit-profile.exp)" +./rlimit-profile.exp + -- cgit v1.2.3-54-g00ecf