From 020c5449036c461ea1829e854da43429322059d6 Mon Sep 17 00:00:00 2001 From: netblue30 Date: Sun, 24 Apr 2016 06:32:15 -0400 Subject: testing --- test/env.exp | 55 ------------------------------------------------------- 1 file changed, 55 deletions(-) delete mode 100755 test/env.exp (limited to 'test/env.exp') diff --git a/test/env.exp b/test/env.exp deleted file mode 100755 index d7aee3c64..000000000 --- a/test/env.exp +++ /dev/null @@ -1,55 +0,0 @@ -#!/usr/bin/expect -f - -set timeout 10 -spawn $env(SHELL) -match_max 100000 - -#*********************************************** -send -- "firejail --env=ENV1=env1 --env=ENV2=env2 --env=ENV3=env3\r" -expect { - timeout {puts "TESTING ERROR 0\n";exit} - "Child process initialized" -} -sleep 1 - -send -- "env | grep ENV1\r" -expect { - timeout {puts "TESTING ERROR 1\n";exit} - "ENV1" -} -send -- "env | grep ENV2\r" -expect { - timeout {puts "TESTING ERROR 2\n";exit} - "ENV2" -} -send -- "env | grep ENV3\r" -expect { - timeout {puts "TESTING ERROR 3\n";exit} - "ENV3" -} -send -- "exit\r" -sleep 1 - -#*********************************************** -send -- "firejail --profile=env.profile\r" -expect { - timeout {puts "TESTING ERROR 4\n";exit} - "Child process initialized" -} -sleep 1 -send -- "env | grep LD_LIBRARY_PATH\r" -expect { - timeout {puts "TESTING ERROR 5\n";exit} - "/opt/test/lib" -} -send -- "env | grep CFLAGS\r" -expect { - timeout {puts "TESTING ERROR 6\n";exit} - "Wall" -} -expect { - timeout {puts "TESTING ERROR 7\n";exit} - "Werror" -} - -puts "\nall done\n" -- cgit v1.2.3-70-g09d2