build/pymake/tests/unexport.mk

Sat, 03 Jan 2015 20:18:00 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 03 Jan 2015 20:18:00 +0100
branch
TOR_BUG_3246
changeset 7
129ffea94266
permissions
-rw-r--r--

Conditionally enable double key logic according to:
private browsing mode or privacy.thirdparty.isolate preference and
implement in GetCookieStringCommon and FindCookie where it counts...
With some reservations of how to convince FindCookie users to test
condition and pass a nullptr when disabling double key logic.

     1 #T environment: {'ENVVAR': 'envval'}
     3 VAR1 = val1
     4 VAR2 = val2
     5 VAR3 = val3
     7 unexport VAR3
     8 export VAR1 VAR2 VAR3
     9 unexport VAR2 ENVVAR
    10 unexport
    12 all:
    13 	test "$(ENVVAR)" = "envval" # unexport.mk
    14 	$(MAKE) -f $(TESTPATH)/unexport.submk
    15 	@echo TEST-PASS

mercurial