~nskaggs/+junk/xenial-test

« back to all changes in this revision

Viewing changes to src/github.com/lxc/lxd/test/suites/filemanip.sh

  • Committer: Nicholas Skaggs
  • Date: 2016-10-24 20:56:05 UTC
  • Revision ID: nicholas.skaggs@canonical.com-20161024205605-z8lta0uvuhtxwzwl
Initi with beta15

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
test_filemanip() {
 
4
  ensure_import_testimage
 
5
 
 
6
  lxc launch testimage filemanip
 
7
  lxc exec filemanip -- ln -s /tmp/ /tmp/outside
 
8
  lxc file push main.sh filemanip/tmp/outside/
 
9
 
 
10
  [ ! -f /tmp/main.sh ]
 
11
  [ -f "${LXD_DIR}/containers/filemanip/rootfs/tmp/main.sh" ]
 
12
 
 
13
  lxc delete filemanip -f
 
14
}