tools/update-packaging/test/catmanifest.sh

Thu, 15 Jan 2015 15:59:08 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:59:08 +0100
branch
TOR_BUG_9701
changeset 10
ac0c01689b40
permissions
-rwxr-xr-x

Implement a real Private Browsing Mode condition by changing the API/ABI;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

     1 #!/bin/bash
     2 # helper tool for testing.  Cats the manifest out of a mar file
     4 mar="$1"
     5 workdir="/tmp/catmanifest"
     7 rm -rf "$workdir"
     8 mkdir -p "$workdir"
     9 cp "$1" "$workdir"
    10 cd "$workdir"
    11 mar -x "$1"
    12 mv updatev2.manifest updatev2.manifest.bz2
    13 bzip2 -d updatev2.manifest.bz2
    14 cat updatev2.manifest

mercurial