From 820735a85dbc2c9d19e948ea37945306ed7bc997 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Thu, 9 May 2019 08:33:34 -0400 Subject: tests: Add some more --sudo tests https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=912180#17 pointed out that d_ino is not trustworthy on mount points either. Make sure we don't use it. --- tests/test_inum_bind_mount.out | 2 ++ tests/test_inum_mount.out | 1 + tests/test_xtype_bind_mount.out | 2 ++ 3 files changed, 5 insertions(+) create mode 100644 tests/test_inum_bind_mount.out create mode 100644 tests/test_inum_mount.out create mode 100644 tests/test_xtype_bind_mount.out (limited to 'tests') diff --git a/tests/test_inum_bind_mount.out b/tests/test_inum_bind_mount.out new file mode 100644 index 0000000..a520de3 --- /dev/null +++ b/tests/test_inum_bind_mount.out @@ -0,0 +1,2 @@ +scratch/bar +scratch/foo diff --git a/tests/test_inum_mount.out b/tests/test_inum_mount.out new file mode 100644 index 0000000..99c7511 --- /dev/null +++ b/tests/test_inum_mount.out @@ -0,0 +1 @@ +scratch/mnt diff --git a/tests/test_xtype_bind_mount.out b/tests/test_xtype_bind_mount.out new file mode 100644 index 0000000..16804ea --- /dev/null +++ b/tests/test_xtype_bind_mount.out @@ -0,0 +1,2 @@ +scratch/link +scratch/null -- cgit v1.2.3