aboutsummaryrefslogtreecommitdiffstats
path: root/test/testsudo_fileutils02.cpp
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2022-07-24 03:25:26 +0200
committerSven Gothel <[email protected]>2022-07-24 03:25:26 +0200
commitcbc5a59bd1c2c6c92654814f03b210fc175dd982 (patch)
tree47bdc1887e56b3aed585af0c595489dc4b53d918 /test/testsudo_fileutils02.cpp
parent0f455eedc10e16f8c9dddaf8b68c9fbc9d2b4ab4 (diff)
FreeBSD Support: Build infrastucture, use $os_name-$archabi, ... (1/2)
Build scripts - setup-machine-arch.sh - set os_name { 'linux' or 'freebsd' } - skip syslibdir for non linux - be quite if given arg "-quiet" - Set JAVA_HOME (if not done yet) - Set JUNIT_CP (if not done yet) - adopted all build/test scripts C++ compilation: - drop libatomic on all non Linux OS - Set SYS_INCLUDE_DIRS w/ FreeBSD += /usr/local/include, use it in compilation - FreeBSD: Set CMAKE_SYSTEM_PREFIX_PATH={/usr;/usr/local} - Use find_library() for LIBCURL_LIBNAME and LIBUNWIND_LIBNAME w/ REQUIRED if selected - Test: ownership_fix_tag: Use group 44(video) as defined in FreeBSD, Debian and Ubuntu - use 'chgrp -f' to not complain on errors, continue build OS/C++ file locations: - mini_httpd Java file locations: - openjdk - junit4 + hamcrest - IOUtil.getExeTestShellCode(): FreeBSD uses /bin/test as /bin/true is n/a (for executable temp jar dir, i.e. fat jars)
Diffstat (limited to 'test/testsudo_fileutils02.cpp')
-rw-r--r--test/testsudo_fileutils02.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/testsudo_fileutils02.cpp b/test/testsudo_fileutils02.cpp
index fa42923..7b9aabb 100644
--- a/test/testsudo_fileutils02.cpp
+++ b/test/testsudo_fileutils02.cpp
@@ -197,7 +197,8 @@ class TestFileUtil02 : TestFileUtilBase {
}
/** default group cdrom for all user, usually set to 24 in Debian and Ubuntu */
- static const ::gid_t extra_test_group = 24;
+ /** default group video for most user, usually set to 44 in FreeBSD, Debian and Ubuntu */
+ static const ::gid_t extra_test_group = 44;
void test50_mount_copy_r_p() {
INFO_STR("\n\ntest50_mount_copy_r_p\n");