~ubuntu-branches/ubuntu/quantal/ceph/quantal

« back to all changes in this revision

Viewing changes to qa/workunits/snaps/snaptest-0.sh

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2012-07-16 09:56:24 UTC
  • mfrom: (0.3.11)
  • mto: This revision was merged to the branch mainline in revision 17.
  • Revision ID: package-import@ubuntu.com-20120716095624-azr2w4hbhei1rxmx
Tags: upstream-0.48
ImportĀ upstreamĀ versionĀ 0.48

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh -x
 
2
 
 
3
set -e
 
4
 
 
5
echo asdf > foo
 
6
mkdir .snap/foo
 
7
grep asdf .snap/foo/foo
 
8
rmdir .snap/foo
 
9
 
 
10
echo asdf > bar
 
11
mkdir .snap/bar
 
12
rm bar
 
13
grep asdf .snap/bar/bar
 
14
rmdir .snap/bar
 
15
rm foo
 
16
 
 
17
echo OK
 
 
b'\\ No newline at end of file'