Re: [PATCH] Add endianness support to cramfs tools

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I've sent you an updated patch that includes the new tests we discussed. A few notes:

1. The test includes 2 binary cramfs images, I've sent these as attachments. They belong in the tests/input directory.

2. The test scripts (ts-cramfs-endianness-mkfs and ts-cramfs-endianness-fsck) need to be executable, I couldn't find a way to set these permissions automatically via a patch file.

3. The reason there are two separate tests is that the fsck test requires a compilation flag to support extraction, and I wanted to be able to skip this test if the flag wasn't specified, and still be able to test mkfs.

4. I ran into a few problems with the existing cramfs test:
	* A problem searching for /dev/loop/X, I've sent a separate patch for it.
	* A problem with timezones- the test seems to assume GMT-1. A workaround for that is to add "export TZ=GMT-1" to run.sh, but it's probably better to move the timezone to UTC. This may also affect other tests.

Regards,
Roy Peled 
--
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux