Displaying 3 results from an estimated 3 matches for "668ed8a".
2016 Mar 01
1
[PATCH] tests: move ntfs tests in a single directory
...test extracted file is the Master File Table
+if [ `head -c 5 test-mft.bin` != "FILE0" ]; then
+ echo "$0: wrong file extracted."
+ exit 1
+fi
+
+rm -f test-mft.bin
diff --git a/tests/ntfs/test-ntfsclone.sh b/tests/ntfs/test-ntfsclone.sh
new file mode 100755
index 0000000..668ed8a
--- /dev/null
+++ b/tests/ntfs/test-ntfsclone.sh
@@ -0,0 +1,62 @@
+#!/bin/bash -
+# libguestfs
+# Copyright (C) 2012 Red Hat Inc.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software F...
2016 May 19
0
[PATCH 1/3] tests: specify the image format when possible
...ile Table ($MFT).
-guestfish --ro -a ../../test-data/phony-guests/windows.img <<EOF
+guestfish --ro --format=raw -a ../../test-data/phony-guests/windows.img <<EOF
run
ntfscat-i /dev/sda2 0 test-mft.bin
EOF
diff --git a/tests/ntfs/test-ntfsclone.sh b/tests/ntfs/test-ntfsclone.sh
index 668ed8a..b403670 100755
--- a/tests/ntfs/test-ntfsclone.sh
+++ b/tests/ntfs/test-ntfsclone.sh
@@ -39,7 +39,7 @@ if [ ! -s ../../test-data/phony-guests/windows.img ]; then
fi
# Export the filesystems to the backup file.
-guestfish --ro -a ../../test-data/phony-guests/windows.img <<EOF
+guestfish -...
2016 May 19
6
[PATCH 0/3] misc tests-only changes
Hi,
small series with small improvements to the tests.
Pino Toscano (3):
tests: specify the image format when possible
tests: remove remaining relative paths to binaries
fish: generate test-prep.sh with generator
.gitignore | 1 +
align/test-virt-alignment-scan.sh | 2 +-
cat/Makefile.am | 2 +-
cat/test-virt-cat.sh