~sylvain-pineau/checkbox/add_xenial_to_test_in_lxc

« back to all changes in this revision

Viewing changes to support/test-in-lxc.sh

"automatic merge of lp:~sylvain-pineau/checkbox/fix-support-and-requirements/ by tarmac [r=][bug=][author=sylvain-pineau]"

Show diffs side-by-side

added added

removed removed

Lines of Context:
134
134
    # under the branch directory to be owned by the unprivileged user,
135
135
    # so stuff can be deleted correctly later.
136
136
    echo "[$target] Fixing file permissions in source directory"
137
 
    if ! sudo $LXC_ATTACH --keep-env -n $target_container -- bash -c "chown -R --reference=test-in-lxc.sh $PWD" >$LOG_DIR/$target.fix-perms.log 2>$LOG_DIR/$target.fix-perms.err; then
 
137
    if ! sudo $LXC_ATTACH --keep-env -n $target_container -- bash -c "chown -R --reference=support/test-in-lxc.sh $PWD" >$LOG_DIR/$target.fix-perms.log 2>$LOG_DIR/$target.fix-perms.err; then
138
138
        echo "[$target] Unable to fix permissions!"
139
139
        echo "[$target] stdout: $(pastebinit $LOG_DIR/$target.fix-perms.log)"
140
140
        echo "[$target] stderr: $(pastebinit $LOG_DIR/$target.fix-perms.err)"