summaryrefslogtreecommitdiffstats
path: root/tests/posix/user_nouser.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/posix/user_nouser.sh')
-rw-r--r--tests/posix/user_nouser.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/posix/user_nouser.sh b/tests/posix/user_nouser.sh
new file mode 100644
index 0000000..e72bd45
--- /dev/null
+++ b/tests/posix/user_nouser.sh
@@ -0,0 +1,2 @@
+# Regression test: this was wrongly optimized to -false
+bfs_diff basic -user "$(id -u)" \! -nouser