From 27c4d069f322fbeca07c88e0e96208233103a5db Mon Sep 17 00:00:00 2001 From: netblue30 Date: Tue, 28 Feb 2023 09:51:26 -0500 Subject: chroot testing --- test/root/option_tmpfs.exp | 42 ------------------------------------------ 1 file changed, 42 deletions(-) delete mode 100755 test/root/option_tmpfs.exp (limited to 'test/root/option_tmpfs.exp') diff --git a/test/root/option_tmpfs.exp b/test/root/option_tmpfs.exp deleted file mode 100755 index 2d9eea8f5..000000000 --- a/test/root/option_tmpfs.exp +++ /dev/null @@ -1,42 +0,0 @@ -#!/usr/bin/expect -f -# This file is part of Firejail project -# Copyright (C) 2014-2023 Firejail Authors -# License GPL v2 - -set timeout 10 -spawn $env(SHELL) -match_max 100000 - -send -- "firejail --tmpfs=/var\r" -expect { - timeout {puts "TESTING ERROR 0\n";exit} - -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms" -} -sleep 1 - -send -- "ls -l /var;pwd\r" -expect { - timeout {puts "TESTING ERROR 1\n";exit} - "total 0" -} -after 100 -send -- "exit\r" -sleep 1 - -send -- "firejail --debug-check-filename --tmpfs=\"bla&&bla\"\r" -expect { - timeout {puts "TESTING ERROR 13.1\n";exit} - "Checking filename bla&&bla" -} -expect { - timeout {puts "TESTING ERROR 13.2\n";exit} - "Error:" -} -expect { - timeout {puts "TESTING ERROR 13.3\n";exit} - "is an invalid filename" -} -after 100 - - -puts "\nall done\n" -- cgit v1.2.3-70-g09d2