Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tails
tails
Commits
02bee255
Commit
02bee255
authored
Mar 29, 2018
by
intrigeri
Browse files
Test suite: update Tor Browser AppArmor profile name (refs:
#14572
)
parent
6b13c981
Changes
1
Hide whitespace changes
Inline
Side-by-side
features/torified_browsing.feature
View file @
02bee255
...
...
@@ -70,26 +70,26 @@ Feature: Browsing the web using the Tor Browser
And
the file
"/lib/live/mount/overlay/home/amnesia/.gnupg/synaptic.html"
exists
And
the file
"/live/overlay/home/amnesia/.gnupg/synaptic.html"
exists
And
the file
"/tmp/synaptic.html"
exists
Given
I start monitoring the AppArmor log of
"
/usr/local/lib/
tor
-
browser
/
firefox"
Given
I start monitoring the AppArmor log of
"torbrowser
_
firefox"
When
I start the Tor Browser
And
the Tor Browser loads the startup page
And I open the address "file
:
///home/amnesia/Tor
Browser/synaptic.html"
in
the
Tor
Browser
Then
I see
"TorBrowserSynapticManual.png"
after at most 5 seconds
And
AppArmor has not denied
"
/usr/local/lib/
tor
-
browser
/
firefox"
from opening
"/home/amnesia/Tor Browser/synaptic.html"
Given
I restart monitoring the AppArmor log of
"
/usr/local/lib/
tor
-
browser
/
firefox"
And
AppArmor has not denied
"torbrowser
_
firefox"
from opening
"/home/amnesia/Tor Browser/synaptic.html"
Given
I restart monitoring the AppArmor log of
"torbrowser
_
firefox"
When I open the address "file
:
///home/amnesia/.gnupg/synaptic.html"
in
the
Tor
Browser
Then
I do not see
"TorBrowserSynapticManual.png"
after at most 5 seconds
And
AppArmor has denied
"
/usr/local/lib/
tor
-
browser
/
firefox"
from opening
"/home/amnesia/.gnupg/synaptic.html"
Given
I restart monitoring the AppArmor log of
"
/usr/local/lib/
tor
-
browser
/
firefox"
And
AppArmor has denied
"torbrowser
_
firefox"
from opening
"/home/amnesia/.gnupg/synaptic.html"
Given
I restart monitoring the AppArmor log of
"torbrowser
_
firefox"
When I open the address "file
:
///lib/live/mount/overlay/home/amnesia/.gnupg/synaptic.html"
in
the
Tor
Browser
Then
I do not see
"TorBrowserSynapticManual.png"
after at most 5 seconds
And
AppArmor has denied
"
/usr/local/lib/
tor
-
browser
/
firefox"
from opening
"/lib/live/mount/overlay/home/amnesia/.gnupg/synaptic.html"
Given
I restart monitoring the AppArmor log of
"
/usr/local/lib/
tor
-
browser
/
firefox"
And
AppArmor has denied
"torbrowser
_
firefox"
from opening
"/lib/live/mount/overlay/home/amnesia/.gnupg/synaptic.html"
Given
I restart monitoring the AppArmor log of
"torbrowser
_
firefox"
When I open the address "file
:
///live/overlay/home/amnesia/.gnupg/synaptic.html"
in
the
Tor
Browser
Then
I do not see
"TorBrowserSynapticManual.png"
after at most 5 seconds
# Due to our AppArmor aliases, /live/overlay will be treated
# as /lib/live/mount/overlay.
And
AppArmor has denied
"
/usr/local/lib/
tor
-
browser
/
firefox"
from opening
"/lib/live/mount/overlay/home/amnesia/.gnupg/synaptic.html"
And
AppArmor has denied
"torbrowser
_
firefox"
from opening
"/lib/live/mount/overlay/home/amnesia/.gnupg/synaptic.html"
# We do not get any AppArmor log for when access to files in /tmp is denied
# since we explictly override (commit 51c0060) the rules (from the user-tmp
# abstration) that would otherwise allow it, and we do so with "deny", which
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment