/usr/share/augeas/lenses/dist/tests/test_odbc.aug is in augeas-lenses 1.2.0-0ubuntu1.3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 | module Test_odbc =
let conf = "
# Example driver definitinions
#
#
# Included in the unixODBC package
[PostgreSQL]
Description = ODBC for PostgreSQL
Driver = /usr/lib/libodbcpsql.so
Setup = /usr/lib/libodbcpsqlS.so
FileUsage = 1
[MySQL]
# Driver from the MyODBC package
# Setup from the unixODBC package
Description = ODBC for MySQL
Driver = /usr/lib/libmyodbc.so
Setup = /usr/lib/libodbcmyS.so
FileUsage = 1
"
test Odbc.lns get conf =
{ }
{ "#comment" = "Example driver definitinions" }
{}
{}
{ }
{ "#comment" = "Included in the unixODBC package" }
{ "PostgreSQL"
{ "Description" = "ODBC for PostgreSQL" }
{ "Driver" = "/usr/lib/libodbcpsql.so" }
{ "Setup" = "/usr/lib/libodbcpsqlS.so" }
{ "FileUsage" = "1" }
{}
}
{ "MySQL"
{ "#comment" = "Driver from the MyODBC package" }
{ "#comment" = "Setup from the unixODBC package" }
{ "Description" = "ODBC for MySQL" }
{ "Driver" = "/usr/lib/libmyodbc.so" }
{ "Setup" = "/usr/lib/libodbcmyS.so" }
{ "FileUsage" = "1" }
}
test Odbc.lns put conf after
set "MySQL/Driver" "/usr/lib64/libmyodbc3.so";
set "MySQL/Driver/#comment" "note the path" = "
# Example driver definitinions
#
#
# Included in the unixODBC package
[PostgreSQL]
Description = ODBC for PostgreSQL
Driver = /usr/lib/libodbcpsql.so
Setup = /usr/lib/libodbcpsqlS.so
FileUsage = 1
[MySQL]
# Driver from the MyODBC package
# Setup from the unixODBC package
Description = ODBC for MySQL
Driver = /usr/lib64/libmyodbc3.so#note the path
Setup = /usr/lib/libodbcmyS.so
FileUsage = 1
"
|