12 Commits

Author SHA1 Message Date
Pascal Obry
3c07851e6c Use localhost on server for all regression tests.
This is to ensure proper error to bind when IPv6 is not available
and so get proper fallback on IPv4.

eng/toolchain/aws#50
2024-11-13 23:40:07 +01:00
Kévin Le Gouguec
30bab00a89 regtests: Allow testcase to declare resources to copy on target
This is not enough to make 0007_dirop pass, since run_cross neither copies
recursively nor preserves file attributes, but it does let the "upload"
tests pass.

TN: W307-028
2023-05-09 13:35:41 +02:00
Pascal Obry
76b8fbd40c Minor code clean-up.
Part of S507-051.
2021-10-11 15:47:44 +02:00
Pascal Obry
0a93e5f89e Fix filename encoding in upload service.
The filename must be properly encoded by the client and decoded
when reading the actual file on disk by the server.

Fixes T302-037.
2020-03-03 21:43:03 +01:00
Pascal Obry
daec519c7c Add the process id to the upload file local name.
This is to ensure unique id accross AWS instances and so avoid
name clashes.

Update the regression tests accordingly.

For O925-077.
2016-09-24 12:15:05 +02:00
Dmitriy Anisimkov
907f967d36 Don't use thread to start server.
It avoid FreeBSD console warning 'thread exits with resources held!'
2012-02-23 09:56:20 +07:00
Dmitriy Anisimkov
aeb4a54878 Able to work in IPv6 mode 2012-02-16 01:20:48 +07:00
Pascal Obry
eaff6db33e Move to GPLv3.
For KC20-036.
2012-01-03 18:55:45 +01:00
Olivier Ramonat
3d3c5ec70b Mark broken tests as DEAD on vxworks 2010-08-05 15:48:54 +00:00
Olivier Ramonat
da1314ad62 Use gnatpython.testdriver, remove local copy of gnatpython modules
Now that gnatpython is published, remove the local copy.
Add a README explaining how to run the testsuite and write a new test

Part of J413-007
2010-05-06 09:00:39 +00:00
Pascal Obry
80f5055ba4 Change AWS style to conform to GNAT standard.
Fix also some other style errors like:
   - empty line at end of file
   - single line comment ending with dot
   - trailing whitespaces

For I401-021.
2009-04-08 12:41:13 +00:00
Pascal Obry
2eff514d7a Move Upload5 tests to new test framework.
Work for H627-016.
2008-08-06 17:33:21 +00:00