~ubuntu-branches/ubuntu/trusty/ufw/trusty-proposed

« back to all changes in this revision

Viewing changes to tests/root/valid6/runtest.sh

  • Committer: Bazaar Package Importer
  • Author(s): Jamie Strandboge
  • Date: 2010-01-30 09:42:05 UTC
  • mfrom: (30.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20100130094205-8wsowzipc32k48yy
Tags: 0.29.3-0ubuntu1
* New upstream release. Fixes:
  LP: #490366
  LP: #512131
  LP: #488032
  LP: #513387
* debian/ufw.upstart.ubuntu: start before an interface receives traffic
* debian/postinst: don't sed or chmod a file that doesn't exist
  (LP: #503039)
* debian/after*.rules.md5sum: updated for ucf (added additional sums for
  people using the workaround in LP: #488032)

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
do_cmd "0"  enable
32
32
do_cmd "0"  default allow
33
33
echo "ipv4:" >> $TESTTMP/result
34
 
iptables -L -n | grep policy >> $TESTTMP/result
 
34
iptables -L -n | grep 'policy ' >> $TESTTMP/result
35
35
echo "ipv6:" >> $TESTTMP/result
36
 
ip6tables -L -n | grep policy >> $TESTTMP/result
 
36
ip6tables -L -n | grep 'policy ' >> $TESTTMP/result
37
37
grep -h "DEFAULT" $TESTPATH/etc/default/ufw >> $TESTTMP/result
38
38
do_cmd "0"  default deny
39
39
echo "ipv4:" >> $TESTTMP/result
40
 
iptables -L -n | grep policy >> $TESTTMP/result
 
40
iptables -L -n | grep 'policy ' >> $TESTTMP/result
41
41
echo "ipv6:" >> $TESTTMP/result
42
 
ip6tables -L -n | grep policy >> $TESTTMP/result
 
42
ip6tables -L -n | grep 'policy ' >> $TESTTMP/result
43
43
grep -h "DEFAULT" $TESTPATH/etc/default/ufw >> $TESTTMP/result
44
44
do_cmd "0"  DEFAULT ALLOW
45
45
echo "ipv4:" >> $TESTTMP/result
46
 
iptables -L -n | grep policy >> $TESTTMP/result
 
46
iptables -L -n | grep 'policy ' >> $TESTTMP/result
47
47
echo "ipv6:" >> $TESTTMP/result
48
 
ip6tables -L -n | grep policy >> $TESTTMP/result
 
48
ip6tables -L -n | grep 'policy ' >> $TESTTMP/result
49
49
grep -h "DEFAULT" $TESTPATH/etc/default/ufw >> $TESTTMP/result
50
50
do_cmd "0"  DEFAULT DENY
51
51
echo "ipv4:" >> $TESTTMP/result
52
 
iptables -L -n | grep policy >> $TESTTMP/result
 
52
iptables -L -n | grep 'policy ' >> $TESTTMP/result
53
53
echo "ipv6:" >> $TESTTMP/result
54
 
ip6tables -L -n | grep policy >> $TESTTMP/result
 
54
ip6tables -L -n | grep 'policy ' >> $TESTTMP/result
55
55
grep -h "DEFAULT" $TESTPATH/etc/default/ufw >> $TESTTMP/result
56
56
 
57
57
do_cmd "0"  default deny