Skip to content

Commit 81664b1

Browse files
committed
Merge remote-tracking branch 'origin/master'
# Conflicts: # scripts/copy-out # scripts/guestfish # test/scripts/guestfish.bats
2 parents ec1e143 + 19f5047 commit 81664b1

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

scripts/copy-out

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ docker run --rm --name "${0##*/}-$(LC_ALL=C tr -dc A-Za-z0-9 </dev/urandom 2>/de
4646
!mkdir -p "$dest"
4747
-copy-out "$source" "$dest"
4848
umount-all
49+
exit
4950
COMMANDS
5051

5152
if [ ! "$(ls -A "$dest")" ]; then

test/scripts/copy-out.bats

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ setup() {
55
load 'helpers/setup.sh' 'copy-out'
66
}
77

8-
@test "should copy-out / by default" {
8+
@test "Xshould copy-out / by default" {
99
cp_fixture cirros.img disk.img
1010

1111
LIBGUESTFS_IMAGE="$BUILD_TAG" run ./copy-out
@@ -14,7 +14,7 @@ setup() {
1414
assert_file_exist 'disk.data/home/cirros/.profile'
1515
}
1616

17-
@test "should copy-out specified path" {
17+
@test "Xshould copy-out specified path" {
1818
cp_fixture cirros.img disk.img
1919

2020
LIBGUESTFS_IMAGE="$BUILD_TAG" run ./copy-out /home/cirros
@@ -23,7 +23,7 @@ setup() {
2323
assert_file_exist 'disk.data/home/cirros/.profile'
2424
}
2525

26-
@test "should copy-out from image in subdir" {
26+
@test "Xshould copy-out from image in subdir" {
2727
mkdir foo
2828
cp_fixture cirros.img foo/disk.img
2929

@@ -32,7 +32,7 @@ setup() {
3232
assert_file_exist 'foo/disk.data/home/cirros/.profile'
3333
}
3434

35-
@test "should fail on missing disk" {
35+
@test "Xshould fail on missing disk" {
3636

3737
LIBGUESTFS_IMAGE="$BUILD_TAG" run ./copy-out /home/cirros
3838

0 commit comments

Comments
 (0)