~ubuntu-branches/debian/jessie/ufsutils/jessie

« back to all changes in this revision

Viewing changes to mkfs.ufs/runtest01.sh

  • Committer: Bazaar Package Importer
  • Author(s): Guillem Jover, Robert Millan, Guillem Jover, Peter Pentchev
  • Date: 2011-05-31 03:50:05 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20110531035005-wyiyk25p99ivd0k0
Tags: 8.2-1
[ Robert Millan ]
* Set ufsutils-udeb to kfreebsd-any.

[ Guillem Jover ]
* New upstream version (based on FreeBSD 8.2)
* Now using Standards-Version 3.9.2 (no changes needed).
* Switch to source format “3.0 (quilt)”.
  - Remove quilt from Build-Depends.
  - Remove patch target in debian/rules.
  - Remove now unneeded README.source.
  - Refresh all patches.
* Reorganize source code:
  - Switch from debian/upstream.sh to debian/rules get-orig-source target.
  - Switch from CVS to Subversion to retrieve the source code.
  - Use the same source layout as upstream (no more relocations),
    i.e. lib/, sbin/, sys/sys, sys/ufs.
  - Move libport/ to port/.
  - Merge libdisklabel/ into port/.
* Remove unneeded linking against libtermcap, thus removing the need for
  ncurses.
* Add an empty debian/watch file explaining that there's no packaged
  upstream releases. Suggested by Peter Pentchev.
* Update CVS to Subversion reference to upstream source code in
  debian/copyright.
* Remove unused lib variable from debian/rules.
* Use dpkg-buildflags to set CPPFLAGS, CFLAGS and LDFLAGS.
  Based on a patch by Peter Pentchev.
* Remove bogus reference to BSD license in /usr/share/common-licenses.
* Always set -I../../sys, even on GNU/kFreeBSD systems.

[ Peter Pentchev ]
* Remove duplicate section “utils” from ufsutils binary package.
* Remove XC- prefix from Package-Type.
* Honour CPPFLAGS and LDFLAGS and do not link with CFLAGS.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/sh
2
 
# $FreeBSD: src/sbin/newfs/runtest01.sh,v 1.1.38.1 2010/02/10 00:26:20 kensmith Exp $
3
 
 
4
 
set -e
5
 
 
6
 
MD=99
7
 
ME=98
8
 
s=1m
9
 
mdconfig -d -u $MD || true
10
 
mdconfig -d -u $ME || true
11
 
mdconfig -a -t malloc -s $s -u $MD
12
 
mdconfig -a -t malloc -s $s -u $ME
13
 
disklabel -r -w md$MD auto
14
 
disklabel -r -w md$ME auto
15
 
./newfs -R /dev/md${MD}c
16
 
./newfs -R /dev/md${ME}c
17
 
if cmp /dev/md${MD}c /dev/md${ME}c ; then
18
 
        echo "Test passed"
19
 
        e=0
20
 
else
21
 
        echo "Test failed"
22
 
        e=1
23
 
fi
24
 
mdconfig -d -u $MD || true
25
 
mdconfig -d -u $ME || true
26
 
exit $e
27