From: Eric Biggers <ebiggers@xxxxxxxxxx> The encrypt-test-revalidate script isn't useful anymore because what it did is now covered by xfstest generic/429. Signed-off-by: Eric Biggers <ebiggers@xxxxxxxxxx> --- misc/Makefile.in | 3 +-- misc/encrypt-test-revalidate | 47 -------------------------------------------- 2 files changed, 1 insertion(+), 49 deletions(-) delete mode 100755 misc/encrypt-test-revalidate diff --git a/misc/Makefile.in b/misc/Makefile.in index a71bd6d..c0f2395 100644 --- a/misc/Makefile.in +++ b/misc/Makefile.in @@ -13,8 +13,7 @@ LDFLAGS = @LDFLAGS@ PROGS= fname_benchmark postmark resize syncfs SCRIPTS= encrypt-fname-benchmark \ - encrypt-smoketest \ - encrypt-test-revalidate + encrypt-smoketest all: $(PROGS) diff --git a/misc/encrypt-test-revalidate b/misc/encrypt-test-revalidate deleted file mode 100755 index 2a4e763..0000000 --- a/misc/encrypt-test-revalidate +++ /dev/null @@ -1,47 +0,0 @@ -#!/bin/sh -vx -. /root/test-config - -dmesg -n 7 -mkdir -p /vdc - -do_mount () -{ - mount -t ext4 $VDC /vdc -} - -do_unmount () -{ - umount /vdc -} - -mke2fs -t ext4 -O encrypt,^metadata_csum -Fq $VDC -do_mount -mkdir /vdc/a /vdc/b -echo foobar | e4crypt add_key /vdc/a -cp /etc/motd /vdc/a -ln -s motd /vdc/a/link -cp -r /root/xfstests /vdc/a -do_unmount -do_mount -ls -l /vdc/a -cat /vdc/a/link -cat /vdc/a/motd -keys=$(keyctl show | grep ext4 | awk '{print $1}') -echo $keys | xargs -n 1 keyctl invalidate -f=$(find /vdc/a -maxdepth 1 -type f) -ls -l /vdc/a/NOEXIST -ls -l /vdc/a/xfstests/README -ls -l /vdc/a -ls -l $f -echo foobar | e4crypt add_key -ls -l /vdc/a/NOEXIST -ls -l /vdc/a/xfstests/README -ls -l $f -ls -l /vdc/a -keys=$(keyctl show | grep ext4 | awk '{print $1}') -echo $keys | xargs -n 1 keyctl invalidate -ls -l /vdc/a/NOEXIST -ls -l /vdc/a/xfstests/README -ls -l $f -ls -l /vdc/a -do_unmount -- 2.13.0.506.g27d5fe0cd-goog -- To unsubscribe from this list: send the line "unsubscribe fstests" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html