===================================== wimlib 1.14.4: ./test-suite.log ===================================== # TOTAL: 5 # PASS: 2 # SKIP: 2 # XFAIL: 0 # FAIL: 1 # XPASS: 0 # ERROR: 0 .. contents:: :depth: 2 FAIL: tests/test-imagex-update_and_extract ========================================== -------------------------------------------------------------------- Testing deleting nonexisting file from WIM image, without --force (errors expected) -------------------------------------------------------------------- [ERROR] Path "/nonexistent" does not exist in WIM image 1 ERROR: Exiting with error code 49: The path does not exist in the WIM image. -------------------------------------------------------------------- Testing deleting nonexisting file from WIM image, with --force -------------------------------------------------------------------- -------------------------------------------------------------------- Testing deleting root directory from WIM image, without --recursive (errors expected) -------------------------------------------------------------------- [ERROR] Path "/" in WIM image 1 is a directory but a recursive delete was not requested ERROR: Exiting with error code 32: One of the specified paths to delete was a directory. -------------------------------------------------------------------- Testing deleting root directory from WIM image, with --recursive -------------------------------------------------------------------- -------------------------------------------------------------------- Testing update command with invalid option (errors expected) -------------------------------------------------------------------- ERROR: Unrecognized option "--invalid-option" to update command "delete" on line 1 -------------------------------------------------------------------- Testing update command with too many arguments (errors expected) -------------------------------------------------------------------- ERROR: Unexpected argument "/anotherdir" in update command on line 1 (The "delete" command only takes 1 nonoption arguments!) -------------------------------------------------------------------- Testing invalid update command (errors expected) -------------------------------------------------------------------- ERROR: Unknown update command "invalid" on line 1 -------------------------------------------------------------------- Testing update command file with comments and empty lines -------------------------------------------------------------------- -------------------------------------------------------------------- Testing update with --rebuild -------------------------------------------------------------------- -------------------------------------------------------------------- Testing adding file to WIM image with flag "" -------------------------------------------------------------------- -------------------------------------------------------------------- Testing deleting file from WIM image -------------------------------------------------------------------- -------------------------------------------------------------------- Testing adding file to WIM image with flag "--rebuild" -------------------------------------------------------------------- -------------------------------------------------------------------- Testing deleting file from WIM image -------------------------------------------------------------------- -------------------------------------------------------------------- Testing renaming file in WIM image -------------------------------------------------------------------- -------------------------------------------------------------------- Testing UTF-16LE-NOBOM command update file -------------------------------------------------------------------- -------------------------------------------------------------------- Testing UTF-16LE-BOM command update file -------------------------------------------------------------------- -------------------------------------------------------------------- Testing UTF-8-BOM command update file -------------------------------------------------------------------- -------------------------------------------------------------------- Testing adding, then renaming file in WIM image in one command -------------------------------------------------------------------- -------------------------------------------------------------------- Testing adding additional file to WIM image -------------------------------------------------------------------- -------------------------------------------------------------------- Testing extracting file from WIM image -------------------------------------------------------------------- -------------------------------------------------------------------- Testing extracting file from WIM image to stdout -------------------------------------------------------------------- -------------------------------------------------------------------- Testing adding directories and files to WIM image -------------------------------------------------------------------- -------------------------------------------------------------------- Testing adding files to WIM image -------------------------------------------------------------------- -------------------------------------------------------------------- Testing adding file with space in it -------------------------------------------------------------------- -------------------------------------------------------------------- Testing path list extract -------------------------------------------------------------------- -------------------------------------------------------------------- Testing path list extract (stdin) -------------------------------------------------------------------- -------------------------------------------------------------------- Testing path list extract (w/ wildcard) -------------------------------------------------------------------- -------------------------------------------------------------------- Testing path list extract (no wildcard, no match; error expected) -------------------------------------------------------------------- [ERROR] Path "hello*" does not exist in WIM image 1 Note: You can use `wimlib-imagex dir' to see what files and directories are in the WIM image. ERROR: Exiting with error code 49: The path does not exist in the WIM image. -------------------------------------------------------------------- Testing path list extract (wildcard, no match; error expected) -------------------------------------------------------------------- [ERROR] No matches for path pattern "foobar*" Note: You can use the '--nullglob' option to ignore missing files. Note: You can use `wimlib-imagex dir' to see what files and directories are in the WIM image. ERROR: Exiting with error code 49: The path does not exist in the WIM image. -------------------------------------------------------------------- Testing path list extract (wildcard, no match, nullglob; no error expected) -------------------------------------------------------------------- [WARNING] No matches for path pattern "foobar*" -------------------------------------------------------------------- Testing path list extract (w/ wildcard) -------------------------------------------------------------------- -------------------------------------------------------------------- Testing path list extract (subdir files) -------------------------------------------------------------------- -------------------------------------------------------------------- Testing case insensitivity -------------------------------------------------------------------- [ERROR] No matches for path pattern "hello1" Note: You can use the '--nullglob' option to ignore missing files. Note: You can use `wimlib-imagex dir' to see what files and directories are in the WIM image. ERROR: Exiting with error code 49: The path does not exist in the WIM image. [ERROR] Path "hello1" does not exist in WIM image 1 Note: You can use `wimlib-imagex dir' to see what files and directories are in the WIM image. ERROR: Exiting with error code 49: The path does not exist in the WIM image. ********************************************************** wimupdate/extract tests passed ********************************************************** trap EXIT ^~~~ ./tests/test-imagex-update_and_extract:330: 'trap' requires a signal or hook name -------------------------------------------------------------------- TEST FAILED (See above) -------------------------------------------------------------------- FAIL tests/test-imagex-update_and_extract (exit status: 2) SKIP: tests/test-imagex-mount ============================= WARNING: /dev/fuse is not readable and writable. Skipping WIM mounting checks SKIP tests/test-imagex-mount (exit status: 77) SKIP: tests/test-imagex-ntfs ============================ Creating NTFS volumes and empty directories to use as mountpoints in.ntfs is not a block device. mkntfs forced anyway. Failed to determine whether in.ntfs is mounted: No such file or directory The sector size was not specified for in.ntfs and it could not be obtained automatically. It has been set to 512 bytes. The partition start sector was not specified for in.ntfs and it could not be obtained automatically. It has been set to 0. The number of sectors per track was not specified for in.ntfs and it could not be obtained automatically. It has been set to 0. The number of heads was not specified for in.ntfs and it could not be obtained automatically. It has been set to 0. To boot from a device, Windows needs the 'partition start sector', the 'sectors per track' and the 'number of heads' to be set. Windows will not be able to boot from this device. out.ntfs is not a block device. mkntfs forced anyway. Failed to determine whether out.ntfs is mounted: No such file or directory The sector size was not specified for out.ntfs and it could not be obtained automatically. It has been set to 512 bytes. The partition start sector was not specified for out.ntfs and it could not be obtained automatically. It has been set to 0. The number of sectors per track was not specified for out.ntfs and it could not be obtained automatically. It has been set to 0. The number of heads was not specified for out.ntfs and it could not be obtained automatically. It has been set to 0. To boot from a device, Windows needs the 'partition start sector', the 'sectors per track' and the 'number of heads' to be set. Windows will not be able to boot from this device. if ! ntfs-3g -o "no_def_opts,silent" $1 $2; then ^~~~~~~ ./tests/test-imagex-ntfs:46: Command 'ntfs-3g' not found (OILS-ERR-100) WARNING: skipping NTFS tests because we aren't able to mount an NTFS volume (perhaps ntfs-3g is not installed setuid root?) SKIP tests/test-imagex-ntfs (exit status: 77)